- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for memstats (0.15 sec)
-
cmd/admin-server-info.go
Uptime: UTCNow().Unix() - globalBootTime.Unix(), Version: Version, CommitID: CommitID, Network: network, MemStats: madmin.MemStats{ Alloc: memstats.Alloc, TotalAlloc: memstats.TotalAlloc, Mallocs: memstats.Mallocs, Frees: memstats.Frees, HeapAlloc: memstats.HeapAlloc, }, GoMaxProcs: runtime.GOMAXPROCS(0), NumCPU: runtime.NumCPU(),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
src/runtime/align_runtime_test.go
unsafe.Offsetof(heapStatsDelta{}.inStacks), unsafe.Offsetof(heapStatsDelta{}.inPtrScalarBits), unsafe.Offsetof(heapStatsDelta{}.inWorkBufs), unsafe.Offsetof(lfnode{}.next), unsafe.Offsetof(mstats{}.last_gc_nanotime), unsafe.Offsetof(mstats{}.last_gc_unix), unsafe.Offsetof(workType{}.bytesMarked), } // AtomicVariables is the set of global variables on which we perform // 64-bit atomic operations.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0) -
src/runtime/traceregion.go
for a.full != nil { block := a.full a.full = block.next sysFree(unsafe.Pointer(block), unsafe.Sizeof(traceRegionAllocBlock{}), &memstats.other_sys) } if current := a.current.Load(); current != nil { sysFree(current, unsafe.Sizeof(traceRegionAllocBlock{}), &memstats.other_sys) a.current.Store(nil) } a.dropping.Store(false)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 3.2K bytes - Viewed (0) -
src/expvar/expvar.go
return os.Args } func memstats() any { stats := new(runtime.MemStats) runtime.ReadMemStats(stats) return *stats } func init() { if godebug.New("httpmuxgo121").Value() == "1" { http.HandleFunc("/debug/vars", expvarHandler) } else { http.HandleFunc("GET /debug/vars", expvarHandler) } Publish("cmdline", Func(cmdline)) Publish("memstats", Func(memstats)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 21:32:11 UTC 2024 - 9.1K bytes - Viewed (0) -
src/sync/pool_test.go
var mstats runtime.MemStats var pauses []uint64 var p Pool for i := 0; i < b.N; i++ { // Put a large number of items into a pool. const N = 100000 var item any = 42 for i := 0; i < N; i++ { p.Put(item) } // Do a GC. runtime.GC() // Record pause time. runtime.ReadMemStats(&mstats)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8K bytes - Viewed (0) -
src/runtime/mcheckmark.go
arena := mheap_.arenas[ai.l1()][ai.l2()] bitmap := arena.checkmarks if bitmap == nil { // Allocate bitmap on first use. bitmap = (*checkmarksMap)(persistentalloc(unsafe.Sizeof(*bitmap), 0, &memstats.gcMiscSys)) if bitmap == nil { throw("out of memory allocating checkmarks bitmap") } arena.checkmarks = bitmap } else { // Otherwise clear the existing bitmap. clear(bitmap.b[:]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.8K bytes - Viewed (0) -
src/runtime/tracebuf.go
} if trace.empty != nil { w.traceBuf = trace.empty trace.empty = w.traceBuf.link unlock(&trace.lock) } else { unlock(&trace.lock) w.traceBuf = (*traceBuf)(sysAlloc(unsafe.Sizeof(traceBuf{}), &memstats.other_sys)) if w.traceBuf == nil { throw("trace: out of memory") } } }) // Initialize the buffer. ts := traceClockNow() if ts <= w.traceBuf.lastTime { ts = w.traceBuf.lastTime + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 6.8K bytes - Viewed (0) -
src/runtime/testdata/testprog/lockosthread.go
// <4 core machines, we are still at the whim of the kernel scheduler. runtime.GOMAXPROCS(4) go func() { // Stop the world; race with LockOSThread below. var m runtime.MemStats for { runtime.ReadMemStats(&m) } }() // Try to synchronize both LockOSThreads. start := time.Now().Add(10 * time.Millisecond) var wg sync.WaitGroup wg.Add(2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
import org.opensearch.core.xcontent.XContentBuilder; import org.opensearch.monitor.jvm.JvmStats; import org.opensearch.monitor.jvm.JvmStats.BufferPool; import org.opensearch.monitor.jvm.JvmStats.Classes; import org.opensearch.monitor.jvm.JvmStats.GarbageCollectors; import org.opensearch.monitor.jvm.JvmStats.Mem; import org.opensearch.monitor.jvm.JvmStats.Threads; import org.opensearch.monitor.os.OsProbe; import org.opensearch.monitor.os.OsStats;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
cmd/speedtest.go
var throughputHighestResults []SpeedTestResult sendResult := func() { var result madmin.SpeedTestResult durationSecs := opts.duration.Seconds() result.GETStats.ThroughputPerSec = throughputHighestGet / uint64(durationSecs) result.GETStats.ObjectsPerSec = throughputHighestGet / uint64(opts.objectSize) / uint64(durationSecs) result.PUTStats.ThroughputPerSec = throughputHighestPut / uint64(durationSecs)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0)