Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MMUHandlerFunc (0.12 sec)

  1. src/cmd/trace/main.go

    	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.
    	mux.HandleFunc("/io", traceviewer.SVGProfileHandlerFunc(pprofByGoroutine(computePprofIO(), parsed)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/mmu.go

    	"fmt"
    	"internal/trace"
    	"log"
    	"math"
    	"net/http"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    )
    
    type MutatorUtilFunc func(trace.UtilFlags) ([][]trace.MutatorUtil, error)
    
    func MMUHandlerFunc(ranges []Range, f MutatorUtilFunc) http.HandlerFunc {
    	mmu := &mmu{
    		cache:  make(map[trace.UtilFlags]*mmuCacheEntry),
    		f:      f,
    		ranges: ranges,
    	}
    	return func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top