GetCPUTime returns the how much CPU time has passed since the start of this process. It always returns 0 under non-linux environments.
()
| 43 | // GetCPUTime returns the how much CPU time has passed since the start of this |
| 44 | // process. It always returns 0 under non-linux environments. |
| 45 | func GetCPUTime() int64 { |
| 46 | log() |
| 47 | return 0 |
| 48 | } |
| 49 | |
| 50 | // Rusage is an empty struct under non-linux environments. |
| 51 | type Rusage struct{} |