tvl-depot/absl/base/internal
Augusto Righetto 417ea99cba
UWP doesn't allow reading regkeys (#594)
* 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.
2020-03-09 08:55:40 -04:00
..
atomic_hook.h Export of internal Abseil changes 2020-02-04 17:25:42 -05:00
atomic_hook_test.cc Export of internal Abseil changes 2020-02-04 17:25:42 -05:00
atomic_hook_test_helper.cc Export of internal Abseil changes 2020-02-04 17:25:42 -05:00
atomic_hook_test_helper.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
bits.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
bits_test.cc Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
cmake_thread_test.cc Export of internal Abseil changes. 2019-03-28 16:54:11 -04:00
cycleclock.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
cycleclock.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
direct_mmap.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
endian.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
endian_test.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
errno_saver.h Export of internal Abseil changes 2020-02-25 13:12:47 -05:00
errno_saver_test.cc Export of internal Abseil changes 2020-02-25 13:12:47 -05:00
exception_safety_testing.cc Export of internal Abseil changes 2019-08-30 15:38:01 -04:00
exception_safety_testing.h Export of internal Abseil changes 2019-08-30 15:38:01 -04:00
exception_testing.h Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
exponential_biased.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
exponential_biased.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
exponential_biased_test.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
hide_ptr.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
identity.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
inline_variable.h Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
inline_variable_testing.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
invoke.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
low_level_alloc.cc Export of internal Abseil changes 2020-02-21 15:56:04 -05:00
low_level_alloc.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
low_level_alloc_test.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
low_level_scheduling.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
per_thread_tls.h Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
periodic_sampler.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
periodic_sampler.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
periodic_sampler_benchmark.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
periodic_sampler_test.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
pretty_function.h Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
raw_logging.cc Export of internal Abseil changes 2020-02-04 17:25:42 -05:00
raw_logging.h Export of internal Abseil changes 2020-02-04 17:25:42 -05:00
scheduling_mode.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
scoped_set_env.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
scoped_set_env.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
scoped_set_env_test.cc Export of internal Abseil changes. 2019-03-19 14:19:10 -04:00
spinlock.cc Export of internal Abseil changes 2020-02-04 17:25:42 -05:00
spinlock.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
spinlock_akaros.inc Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
spinlock_benchmark.cc Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
spinlock_linux.inc Export of internal Abseil changes 2020-02-25 13:12:47 -05:00
spinlock_posix.inc Export of internal Abseil changes 2020-02-25 13:12:47 -05:00
spinlock_wait.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
spinlock_wait.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
spinlock_win32.inc Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
sysinfo.cc UWP doesn't allow reading regkeys (#594) 2020-03-09 08:55:40 -04:00
sysinfo.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
sysinfo_test.cc Export of internal Abseil changes 2020-01-31 17:10:19 -05:00
thread_annotations.h Export of internal Abseil changes. 2019-05-30 13:42:15 -04:00
thread_identity.cc Export of internal Abseil changes 2020-01-28 16:07:41 -05:00
thread_identity.h Export of internal Abseil changes 2020-01-28 16:07:41 -05:00
thread_identity_benchmark.cc Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
thread_identity_test.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
throw_delegate.cc Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
throw_delegate.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
tsan_mutex_interface.h Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
unaligned_access.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00
unscaledcycleclock.cc Fix build on FreeBSD/powerpc (#616) 2020-02-25 16:27:31 -05:00
unscaledcycleclock.h Export of internal Abseil changes 2019-12-10 15:07:05 -05:00