sysconfig_notcgo.go 469 B

12345678910111213141516
  1. // +build !cgo windows
  2. package system
  3. func GetClockTicks() int {
  4. // TODO figure out a better alternative for platforms where we're missing cgo
  5. //
  6. // TODO Windows. This could be implemented using Win32 QueryPerformanceFrequency().
  7. // https://msdn.microsoft.com/en-us/library/windows/desktop/ms644905(v=vs.85).aspx
  8. //
  9. // An example of its usage can be found here.
  10. // https://msdn.microsoft.com/en-us/library/windows/desktop/dn553408(v=vs.85).aspx
  11. return 100
  12. }