Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GoroutineHandler (0.16 sec)

  1. src/cmd/trace/goroutines.go

    	<td>{{.N}}</td>
    	<td>{{.ExecTime}}</td>
      </tr>
    {{end}}
    </table>
    </body>
    </html>
    `))
    
    // GoroutineHandler creates a handler that serves information about
    // goroutines in a particular group.
    func GoroutineHandler(summaries map[trace.GoID]*trace.GoroutineSummary) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		goroutineName := r.FormValue("name")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/trace/main.go

    	mux.Handle("/static/", traceviewer.StaticHandler())
    
    	// Goroutines handlers.
    	mux.HandleFunc("/goroutines", GoroutinesHandlerFunc(parsed.summary.Goroutines))
    	mux.HandleFunc("/goroutine", GoroutineHandler(parsed.summary.Goroutines))
    
    	// MMU handler.
    	mux.HandleFunc("/mmu", traceviewer.MMUHandlerFunc(ranges, mutatorUtil))
    
    	// Basic pprof endpoints.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top