8 #ifndef BOTAN_OS_UTILS_H__
9 #define BOTAN_OS_UTILS_H__
11 #include <botan/types.h>
int BOTAN_DLL run_cpu_instruction_probe(std::function< int()> probe_fn)
uint32_t BOTAN_DLL get_process_id()
void * allocate_locked_pages(size_t length)
size_t get_memory_locking_limit()
uint64_t BOTAN_DLL get_processor_timestamp()
uint64_t BOTAN_DLL get_system_timestamp_ns()
void free_locked_pages(void *ptr, size_t length)
uint64_t BOTAN_DLL get_high_resolution_clock()