417ea99cba
* UWP doesn't allow reading regkeys. Unfortunately, UWP also doesn't offer an API for returning nominal processor frequency at this moment. Other options would require apps depending on abseil-cpp to be packaged with extra manifest data or libraries for bridging platforms. This change pushes the unsupported APIs accessing the registry behind a define guard. This define guard makes GetNominalCPUFrequency to compile and run as usual on desktop, but it will return the value 1.0 on UWP Apps (Store). * Using WINAPI_FAMILY_PARTITION family of macros for detecting when building for UWP or Desktop. * Simplifying comment to please the lint tool. |
||
---|---|---|
.. | ||
internal | ||
attributes.h | ||
bit_cast_test.cc | ||
BUILD.bazel | ||
call_once.h | ||
call_once_test.cc | ||
casts.h | ||
CMakeLists.txt | ||
config.h | ||
config_test.cc | ||
const_init.h | ||
dynamic_annotations.cc | ||
dynamic_annotations.h | ||
exception_safety_testing_test.cc | ||
inline_variable_test.cc | ||
inline_variable_test_a.cc | ||
inline_variable_test_b.cc | ||
invoke_test.cc | ||
log_severity.cc | ||
log_severity.h | ||
log_severity_test.cc | ||
macros.h | ||
optimization.h | ||
options.h | ||
policy_checks.h | ||
port.h | ||
raw_logging_test.cc | ||
spinlock_test_common.cc | ||
thread_annotations.h | ||
throw_delegate_test.cc |