Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LowDateTime (0.09 sec)

  1. src/os/exec_windows.go

    		var arg []byte
    		arg, cmd = readNextArg(cmd)
    		args = append(args, string(arg))
    	}
    	return args
    }
    
    func ftToDuration(ft *syscall.Filetime) time.Duration {
    	n := int64(ft.HighDateTime)<<32 + int64(ft.LowDateTime) // in 100-nanosecond intervals
    	return time.Duration(n*100) * time.Nanosecond
    }
    
    func (p *ProcessState) userTime() time.Duration {
    	return ftToDuration(&p.rusage.UserTime)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top