Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parseThreads (0.28 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	if err != nil {
    		return nil, nil, fmt.Errorf("malformed sample: %s: %v", line, err)
    	}
    
    	return value, addrs, nil
    }
    
    // parseThread parses a Threadz profile and returns a new Profile.
    func parseThread(b []byte) (*Profile, error) {
    	s := bufio.NewScanner(bytes.NewBuffer(b))
    	// Skip past comments and empty lines seeking a real header.
    	for s.Scan() && isSpaceOrComment(s.Text()) {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  2. src/internal/trace/traceviewer/static/trace_viewer_full.html

    const colCount=cols.length;if(parseProcesses&&colCount===9){legacy=false;}else if(parseProcesses&&colCount===8){legacy=true;}...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    func parseLegacy(data []byte) (*Profile, error) {
    	parsers := []func([]byte) (*Profile, error){
    		parseCPU,
    		parseHeap,
    		parseGoCount, // goroutine, threadcreate
    		parseThread,
    		parseContention,
    		parseJavaProfile,
    	}
    
    	for _, parser := range parsers {
    		p, err := parser(data)
    		if err == nil {
    			p.addLegacyFrameInfo()
    			return p, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top