Commit d184b2be by Dominic Hamon

Move linux-only variable into linux/cygwin block

parent e2633b9b
......@@ -75,8 +75,6 @@ bool ReadIntFromFile(const char* file, int* value) {
#endif
void InitializeSystemInfo() {
bool saw_mhz = false;
// TODO: destroy this
pthread_mutex_init(&cputimens_mutex, NULL);
......@@ -85,6 +83,8 @@ void InitializeSystemInfo() {
char* err;
int freq;
bool saw_mhz = false;
// If the kernel is exporting the tsc frequency use that. There are issues
// where cpuinfo_max_freq cannot be relied on because the BIOS may be
// exporintg an invalid p-state (on x86) or p-states may be used to put the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment