Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 218 for accounting (0.76 sec)

  1. src/internal/trace/gc.go

    						pi++
    						continue
    					}
    					out[0][mi].Util -= float64(1) / float64(procs[pi].n)
    					if out[0][mi].Util < 0 {
    						out[0][mi].Util = 0
    					}
    					mi++
    				}
    			}
    			// After accounting for the portion we missed, this just acts like the
    			// beginning of a new range.
    			fallthrough
    		case EventRangeBegin:
    			r := ev.Range()
    			if handleSTW(r) {
    				stw++
    			} else if handleSweep(r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. src/runtime/mgcscavenge.go

    				// Only perform sys* operations if we're not in a test.
    				// It's dangerous to do so otherwise.
    				sysUnused(unsafe.Pointer(addr), uintptr(npages)*pageSize)
    
    				// Update global accounting only when not in test, otherwise
    				// the runtime's accounting will be wrong.
    				nbytes := int64(npages * pageSize)
    				gcController.heapReleased.add(nbytes)
    				gcController.heapFree.add(-nbytes)
    
    				stats := memstats.heapStats.acquire()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  3. src/runtime/mgcpacer.go

    	if trace.ok() {
    		trace.HeapAlloc(bytesMarked)
    		traceRelease(trace)
    	}
    }
    
    // markWorkerStop must be called whenever a mark worker stops executing.
    //
    // It updates mark work accounting in the controller by a duration of
    // work in nanoseconds and other bookkeeping.
    //
    // Safe to execute at any time.
    func (c *gcControllerState) markWorkerStop(mode gcMarkWorkerMode, duration int64) {
    	switch mode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    +   previous logins.  */
     struct lastlog
       {
         time_t ll_time;
    @@ -36,12 +38,16 @@ struct lastlog
         char ll_host[UT_HOSTSIZE];
       };
     
    +/* The structure describing an entry in the user accounting database.  */
     struct utmp
       {
    -    char ut_line[UT_LINESIZE];
    -    char ut_user[UT_NAMESIZE];
    +    char ut_line[UT_LINESIZE]
    +      __attribute_nonstring__;	/* Devicename.  */
    +    char ut_user[UT_NAMESIZE]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server.go

    			namespace = v
    		}
    		if v, ok := c.Spec.Labels[kubelettypes.KubernetesContainerNameLabel]; ok {
    			containerName = v
    		}
    		// Associate pod cgroup with pod so we have an accurate accounting of sandbox
    		if podName == "" && namespace == "" {
    			if pod, found := s.GetPodByCgroupfs(c.Name); found {
    				podName = pod.Name
    				namespace = pod.Namespace
    			}
    		}
    		set := map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof_test.go

    	if runtime.GOOS != "linux" {
    		t.Skip("issue 35057 is only confirmed on Linux")
    	}
    
    	// Linux [5.9,5.16) has a kernel bug that can break CPU timers on newly
    	// created threads, breaking our CPU accounting.
    	major, minor := unix.KernelVersion()
    	t.Logf("Running on Linux %d.%d", major, minor)
    	defer func() {
    		if t.Failed() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  7. src/cmd/cover/cover.go

    	}
    	return s.End()
    }
    
    // endsBasicSourceBlock reports whether s changes the flow of control: break, if, etc.,
    // or if it's just problematic, for instance contains a function literal, which will complicate
    // accounting due to the block-within-an expression.
    func (f *File) endsBasicSourceBlock(s ast.Stmt) bool {
    	switch s := s.(type) {
    	case *ast.BlockStmt:
    		// Treat blocks like basic blocks to avoid overlapping counters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. src/runtime/mgcsweep.go

    	} else {
    		// Concurrent sweep needs to sweep all of the in-use
    		// pages by the time the allocated heap reaches the GC
    		// trigger. Compute the ratio of in-use pages to sweep
    		// per byte allocated, accounting for the fact that
    		// some might already be swept.
    		heapLiveBasis := gcController.heapLive.Load()
    		heapDistance := int64(trigger) - int64(heapLiveBasis)
    		// Add a little margin so rounding errors and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	}
    	if len(oob) > 0 && empty {
    		n = 0
    	}
    	return n, nil
    }
    
    //sys	acct(path *byte) (err error)
    
    func Acct(path string) (err error) {
    	if len(path) == 0 {
    		// Assume caller wants to disable accounting.
    		return acct(nil)
    	}
    
    	pathp, err := BytePtrFromString(path)
    	if err != nil {
    		return err
    	}
    	return acct(pathp)
    }
    
    //sys	__makedev(version int, major uint, minor uint) (val uint64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.3.md

    * Fix system container detection in kubelet on systemd. ([#26586](https://github.com/kubernetes/kubernetes/pull/26586), [@derekwaynecarr](https://github.com/derekwaynecarr))
        * This fixed environments where CPU and Memory Accounting were not enabled on the unit that launched the kubelet or docker from reporting the root cgroup when monitoring usage stats for those components.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
Back to top