CUBRID Engine  latest
perf_def.hpp File Reference
#include <atomic>
#include <chrono>
#include <cinttypes>
Include dependency graph for perf_def.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cubperf::generic_statset< IsAtomic >
 
class  cubperf::generic_stat_counter< IsAtomic >
 
class  cubperf::generic_stat_timer< IsAtomic >
 
class  cubperf::generic_stat_counter_and_timer< IsAtomic >
 

Namespaces

 cubperf
 

Typedefs

using cubperf::clock = std::chrono::high_resolution_clock
 
using cubperf::time_point = clock::time_point
 
using cubperf::duration = clock::duration
 
template<bool IsAtomic>
using cubperf::generic_value = typename std::conditional< IsAtomic, std::atomic< std::uint64_t >, std::uint64_t >::type
 
using cubperf::stat_value = generic_value< false >
 
using cubperf::atomic_stat_value = generic_value< true >
 
using cubperf::stat_id = std::size_t
 
using cubperf::statset = generic_statset< false >
 
using cubperf::atomic_statset = generic_statset< true >
 
using cubperf::stat_counter = generic_stat_counter< false >
 
using cubperf::atomic_stat_counter = generic_stat_counter< true >
 
using cubperf::stat_timer = generic_stat_timer< false >
 
using cubperf::atomic_stat_timer = generic_stat_timer< true >
 
using cubperf::stat_counter_and_timer = generic_stat_counter_and_timer< false >
 
using cubperf::atomic_stat_counter_and_timer = generic_stat_counter_and_timer< true >