Mercurial > hg > truffle
comparison src/os/linux/vm/globals_linux.hpp @ 1679:3d90023429ec
6888526: Linux getCurrentThreadCpuTime is drastically slower than Windows
Reviewed-by: dcubed, dholmes
author | aph |
---|---|
date | Wed, 28 Jul 2010 17:38:21 +0100 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1678:7f0fdccac34f | 1679:3d90023429ec |
---|---|
27 // | 27 // |
28 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \ | 28 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \ |
29 product(bool, UseOprofile, false, \ | 29 product(bool, UseOprofile, false, \ |
30 "enable support for Oprofile profiler") \ | 30 "enable support for Oprofile profiler") \ |
31 \ | 31 \ |
32 product(bool, UseLinuxPosixThreadCPUClocks, false, \ | 32 product(bool, UseLinuxPosixThreadCPUClocks, true, \ |
33 "enable fast Linux Posix clocks where available") \ | 33 "enable fast Linux Posix clocks where available") |
34 | 34 // NB: The default value of UseLinuxPosixThreadCPUClocks may be |
35 // overridden in Arguments::parse_each_vm_init_arg. | |
35 | 36 |
36 // | 37 // |
37 // Defines Linux-specific default values. The flags are available on all | 38 // Defines Linux-specific default values. The flags are available on all |
38 // platforms, but they may have different default values on other platforms. | 39 // platforms, but they may have different default values on other platforms. |
39 // | 40 // |