Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,544 for units (0.1 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	unit := minUnit
    	if minUnit != maxUnit && minValue*100 < maxValue && o.OutputFormat != Callgrind {
    		// Minimum and maximum values have different units. Scale
    		// minimum by 100 to use larger units, allowing minimum value to
    		// be scaled down to 0.01, except for callgrind reports since
    		// they can only represent integer values.
    		_, unit = measurement.Scale(100*minValue, o.SampleUnit, "minimum")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  2. src/runtime/netpoll_windows.go

    		// in which automatically cancels the wait completion packet.
    		fallthrough
    	case STATUS_SUCCESS:
    		dt := -delay / 100 // relative sleep (negative), 100ns units
    		if stdcall6(_SetWaitableTimer, mp.waitIocpTimer, uintptr(unsafe.Pointer(&dt)), 0, 0, 0, 0) == 0 {
    			println("runtime: SetWaitableTimer failed; errno=", getlasterror())
    			throw("runtime: netpoll failed")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/image/jpeg/scan.go

    		}
    		if ah != 0 && ah != al+1 {
    			return FormatError("bad successive approximation values")
    		}
    	}
    
    	// mxx and myy are the number of MCUs (Minimum Coded Units) in the image.
    	h0, v0 := d.comp[0].h, d.comp[0].v // The h and v values from the Y components.
    	mxx := (d.width + 8*h0 - 1) / (8 * h0)
    	myy := (d.height + 8*v0 - 1) / (8 * v0)
    	if d.img1 == nil && d.img3 == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. src/runtime/sys_solaris_amd64.s

    	MOVQ	SP, -8(R14)
    	LEAQ	-8(R14), SP
    	CALL	AX
    	MOVQ	0(SP), SP
    	RET
    
    noswitch:
    	// Not a Go-managed thread. Do not switch stack.
    	CALL	AX
    	RET
    
    // Runs on OS stack. duration (in µs units) is in DI.
    TEXT usleep2<>(SB),NOSPLIT,$0
    	LEAQ	libc_usleep(SB), AX
    	CALL	AX
    	RET
    
    // Runs on OS stack, called from runtime·osyield.
    TEXT runtime·osyield1(SB),NOSPLIT,$0
    	LEAQ	libc_sched_yield(SB), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:29:00 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. src/runtime/mgcmark.go

    		}
    		gcw.heapScanWork = 0
    	}
    }
    
    // gcDrainN blackens grey objects until it has performed roughly
    // scanWork units of scan work or the G is preempted. This is
    // best-effort, so it may perform less work if it fails to get a work
    // buffer. Otherwise, it will perform at least n units of work, but
    // may perform more because scanning is always done in whole object
    // increments. It returns the amount of scan work performed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. src/time/time.go

    )
    
    // Common durations. There is no definition for units of Day or larger
    // to avoid confusion across daylight savings time zone transitions.
    //
    // To count the number of units in a [Duration], divide:
    //
    //	second := time.Second
    //	fmt.Print(int64(second/time.Millisecond)) // prints 1000
    //
    // To convert an integer number of units to a Duration, multiply:
    //
    //	seconds := 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/dwarf.go

    			}
    			ctxt.compUnits = append(ctxt.compUnits, unit)
    
    			// We need at least one runtime unit.
    			if unit.Lib.Pkg == "runtime" {
    				ctxt.runtimeCU = unit
    			}
    
    			cuabrv := dwarf.DW_ABRV_COMPUNIT
    			if len(unit.Textp) == 0 {
    				cuabrv = dwarf.DW_ABRV_COMPUNIT_TEXTLESS
    			}
    			unit.DWInfo = d.newdie(&dwroot, cuabrv, unit.Lib.Pkg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. src/runtime/os_windows.go

    			h = getg().m.highResTimer
    			dt := -10 * int64(us) // relative sleep (negative), 100ns units
    			stdcall6(_SetWaitableTimer, h, uintptr(unsafe.Pointer(&dt)), 0, 0, 0, 0)
    			timeout = _INFINITE
    		} else {
    			h = _INVALID_HANDLE_VALUE
    			timeout = uintptr(us) / 1000 // ms units
    		}
    		stdcall2(_WaitForSingleObject, h, timeout)
    	})
    }
    
    func ctrlHandler(_type uint32) uintptr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. src/runtime/traceevent.go

    	traceEvCPUSamples // start of a section of CPU samples [...traceEvCPUSample]
    	traceEvCPUSample  // CPU profiling sample [timestamp, M ID, P ID, goroutine ID, stack ID]
    	traceEvFrequency  // timestamp units per sec [freq]
    
    	// Procs.
    	traceEvProcsChange // current value of GOMAXPROCS [timestamp, GOMAXPROCS, stack ID]
    	traceEvProcStart   // start of P [timestamp, P ID, P seq]
    	traceEvProcStop    // stop of P [timestamp]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go

    	// Parse should call usage and return nil.
    	Parse(usage func()) []string
    }
    
    // A Fetcher reads and returns the profile named by src. src can be a
    // local file path or a URL. duration and timeout are units specified
    // by the end user, or 0 by default. duration refers to the length of
    // the profile collection, if applicable, and timeout is the amount of
    // time to wait for a profile before returning an error. Returns the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top