Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 400 for ts (0.03 sec)

  1. src/syscall/syscall_linux_riscv64.go

    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    	var ts *Timespec
    	if timeout != nil {
    		ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
    	}
    	return pselect(nfd, r, w, e, ts, nil)
    }
    
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. src/runtime/os3_solaris.go

    }
    
    const (
    	_CLOCK_REALTIME  = 3
    	_CLOCK_MONOTONIC = 4
    )
    
    //go:nosplit
    func nanotime1() int64 {
    	var ts mts
    	sysvicall2(&libc_clock_gettime, _CLOCK_MONOTONIC, uintptr(unsafe.Pointer(&ts)))
    	return ts.tv_sec*1e9 + ts.tv_nsec
    }
    
    //go:nosplit
    func open(path *byte, mode, perm int32) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    		}
    		if hm.CPU != nil {
    			labels := map[string]string{}
    			ts := hm.CPU.TimesStat
    			if ts != nil {
    				tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. src/runtime/defs_openbsd_ppc64.go

    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:23 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/parser.go

    		case EvGoSysBlock, EvGoInSyscall:
    			lastSysBlock[ev.G] = ev.Ts
    		case EvGoSysExit:
    			ts := Timestamp(ev.Args[2])
    			if ts == 0 {
    				continue
    			}
    			block := lastSysBlock[ev.G]
    			if block == 0 {
    				return Events{}, fmt.Errorf("stray syscall exit")
    			}
    			if ts < block {
    				return Events{}, ErrTimeOrder
    			}
    			ev.Ts = ts
    		}
    	}
    	sort.Stable(&events)
    
    	return events, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/metrics/metrics.go

    	obj, exists := c.cache.Load(key)
    	if !exists {
    		return
    	}
    	ts, ok := obj.(*operationTimestamp)
    	if !ok {
    		return
    	}
    	if err != nil {
    		RecordVolumeOperationErrorMetric(ts.pluginName, ts.operation)
    	} else {
    		timeTaken := time.Since(ts.startTs).Seconds()
    		metricutil.RecordOperationLatencyMetric(ts.pluginName, ts.operation, timeTaken)
    		// end of this operation, remove the timestamp entry from cache
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 25 13:09:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  7. test/tighten.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var (
    	e  any
    	ts uint16
    )
    
    func moveValuesWithMemoryArg(len int) {
    	for n := 0; n < len; n++ {
    		// Load of e.data is lowed as a MOVDload op, which has a memory
    		// argument. It's moved near where it's used.
    		_ = e != ts // ERROR "MOVDload is moved$" "MOVDaddr is moved$"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 513 bytes
    - Viewed (0)
  8. src/runtime/defs_linux_mips64x.go

    )
    
    //struct Sigset {
    //	uint64	sig[1];
    //};
    //typedef uint64 Sigset;
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. src/runtime/defs_linux_mipsx.go

    	_ITIMER_PROF    = 0x2
    
    	_CLOCK_THREAD_CPUTIME_ID = 0x3
    
    	_SIGEV_THREAD_ID = 0x4
    )
    
    type timespec struct {
    	tv_sec  int32
    	tv_nsec int32
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = timediv(ns, 1e9, &ts.tv_nsec)
    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    //go:nosplit
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/runtime/defs_linux_ppc64le.go

    )
    
    //struct Sigset {
    //	uint64	sig[1];
    //};
    //typedef uint64 Sigset;
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top