Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 888 for proc (0.06 sec)

  1. src/internal/trace/testdata/testprog/stress.go

    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    	defer trace.Stop()
    
    	procs := runtime.GOMAXPROCS(10)
    	time.Sleep(50 * time.Millisecond) // test proc stop/start events
    
    	go func() {
    		runtime.LockOSThread()
    		for {
    			select {
    			case <-done:
    				return
    			default:
    				runtime.Gosched()
    			}
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemInfoOsMemoryInfoTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.process.internal.health.memory
    
    import spock.lang.Specification
    
    class MemInfoOsMemoryInfoTest extends Specification {
        def "parses memory from /proc/meminfo on Linux 3.x"() {
            given:
            def snapshot = new MemInfoOsMemoryInfo().getOsSnapshotFromMemInfo(meminfoLinux3())
    
            expect:
            snapshot.physicalMemory.free == 32_343_658_496L
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateAssemblerBaseNamesTestApp.groovy

        }
    
        protected def getAsmSource(String methodName) {
            if (toolChain.isVisualCpp()) {
                return """
    .386
    .model    flat
    
    PUBLIC    _${methodName}
    _TEXT     SEGMENT
    _${methodName}    PROC
    mov    eax, DWORD PTR 4[esp]
    add    eax, DWORD PTR 8[esp]
    ret    0
    _${methodName}    ENDP
    _TEXT   ENDS
    END
    """
            }else{
                return """
    .text
    .globl  _${methodName}
    _${methodName}:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	t.ExpectFailure(".*expected a proc but didn't have one.*")
    
    	g := t.Generation(1)
    
    	// A C thread calls into Go and acquires a P. It returns
    	// back to C, destroying the G. It then comes back to Go
    	// on the same thread and again returns to C.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    	t.RawEvent(go122.EvEventBatch, nil, 2 /*gen*/, 0 /*thread ID*/, 0 /*timestamp*/, 50 /*batch length (invalid)*/)
    
    	// We should fail at the first issue, not the second one.
    	t.ExpectFailure("expected a proc but didn't have one")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. docs/metrics/v3.md

    | `minio_system_process_io_rchar_bytes`              | `counter` | Total bytes read by the process from the underlying storage system including cache, /proc/[pid]/io rchar       | `server` |
    | `minio_system_process_io_read_bytes`               | `counter` | Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes                  | `server` |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  7. test/interface/fake.go

    	sys·ifaceeq(0x2aa7c0, 0x0, 0x0, 0x0, 0x2aa7c0, ...)
    main·main+0x190 /Users/rsc/goX/src/cmd/gc/x.go:10
    	main·main()
    mainstart+0xf /Users/rsc/goX/src/runtime/amd64/asm.s:53
    	mainstart()
    sys·Goexit /Users/rsc/goX/src/runtime/proc.c:124
    	sys·Goexit()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 1.8K bytes
    - Viewed (0)
  8. src/syscall/syscall_windows_test.go

    	h, err := syscall.LoadLibrary("kernel32.dll")
    	if err != nil {
    		abort("LoadLibrary", err)
    	}
    	defer syscall.FreeLibrary(h)
    	proc, err := syscall.GetProcAddress(h, "GetVersion")
    	if err != nil {
    		abort("GetProcAddress", err)
    	}
    	r, _, _ := syscall.Syscall(uintptr(proc), 0, 0, 0, 0)
    	major := byte(r)
    	minor := uint8(r >> 8)
    	build := uint16(r >> 16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:33:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go

    	}
    	return res
    }
    
    // unmountKubeletDirectory unmounts all paths that contain KubeletRunDirectory
    func unmountKubeletDirectory(kubeletRunDirectory string, flags []string) error {
    	raw, err := os.ReadFile("/proc/mounts")
    	if err != nil {
    		return err
    	}
    
    	if !strings.HasSuffix(kubeletRunDirectory, "/") {
    		// trailing "/" is needed to ensure that possibly mounted /var/lib/kubelet is skipped
    		kubeletRunDirectory += "/"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 10:58:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/list.md

    | `minio_node_io_read_bytes`                 | Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes.                  |
    | `minio_node_io_wchar_bytes`                | Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar. |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
Back to top