Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chronoxor/CppBenchmark
/ functions
Functions
565 in github.com/chronoxor/CppBenchmark
⨍
Functions
565
◇
Types & classes
142
↓ 207 callers
Method
load
examples/cameron/atomicops.h:244
↓ 45 callers
Function
swap
examples/cameron/concurrentqueue.h:3517
↓ 40 callers
Method
SetCustom
Set custom integer value ! \param name - Name \param value - Value */
include/benchmark/phase_metrics.h:125
↓ 28 callers
Function
fence
examples/cameron/atomicops.h:125
↓ 17 callers
Method
AddLatency
source/benchmark/phase_metrics.cpp:127
↓ 17 callers
Method
AddOperations
Increase operations count of the current phase ! \param operations - Operations count */
include/benchmark/phase_metrics.h:105
↓ 16 callers
Method
enqueue
examples/lockfree/mpsc-queue.hpp:53
↓ 15 callers
Method
next_prod
examples/cameron/concurrentqueue.h:1575
↓ 13 callers
Method
signal
examples/cameron/blockingconcurrentqueue.h:87
↓ 12 callers
Method
StopConsume
Stop benchmark consumption
include/benchmark/context_pc.h:51
↓ 12 callers
Method
StopProduce
Stop benchmark production
include/benchmark/context_pc.h:49
↓ 11 callers
Method
AddItems
Register processed items in the current phase ! \param items - Items count */
include/benchmark/phase_metrics.h:111
↓ 11 callers
Method
attempts
Get count of independent benchmark attempts
include/benchmark/settings.h:53
↓ 11 callers
Function
swap_relaxed
examples/cameron/concurrentqueue.h:372
↓ 10 callers
Method
total_operations
Get total operations made in the phase
include/benchmark/phase_metrics.h:71
↓ 9 callers
Method
StartCollectingMetrics
Start collecting metrics in the current phase
include/benchmark/phase_core.h:92
↓ 9 callers
Method
dequeue
examples/lockfree/mpsc-queue.hpp:63
↓ 9 callers
Function
likely
examples/cameron/concurrentqueue.h:172
↓ 9 callers
Method
x
Benchmark first parameter. Valid only if not negative!
include/benchmark/context.h:41
↓ 8 callers
Method
StopPhase
source/benchmark/phase_scope.cpp:35
↓ 8 callers
Method
dequeue
examples/cameron/concurrentqueue.h:1794
↓ 8 callers
Function
deref_noexcept
examples/cameron/concurrentqueue.h:407
↓ 8 callers
Method
operations
Get count of operations
include/benchmark/settings.h:59
↓ 7 callers
Method
StartPhase
source/benchmark/phase_core.cpp:15
↓ 7 callers
Method
StopCollectingMetrics
Stop collecting metrics in the current phase
include/benchmark/phase_core.h:95
↓ 7 callers
Function
clock_gettime
examples/timers.cpp:109
↓ 7 callers
Method
duration
Get benchmark duration in milliseconds
include/benchmark/settings.h:57
↓ 7 callers
Method
latency
source/benchmark/phase_metrics.cpp:34
↓ 7 callers
Method
total_bytes
Get total bytes processed in the phase
include/benchmark/phase_metrics.h:75
↓ 7 callers
Method
total_items
Get total items processed in the phase
include/benchmark/phase_metrics.h:73
↓ 6 callers
Method
dequeue_bulk
examples/cameron/concurrentqueue.h:2078
↓ 6 callers
Method
swap
examples/cameron/concurrentqueue.h:518
↓ 6 callers
Method
try_enqueue
Enqueues a single item (by copying it). Does not allocate memory. Fails if not enough room to enqueue (or implicit production is disabled because Trai
examples/cameron/concurrentqueue.h:904
↓ 5 callers
Function
QueryPerformanceCounter
examples/timers.cpp:536
↓ 5 callers
Function
new_block_index
examples/cameron/concurrentqueue.h:2783
↓ 5 callers
Function
rewind_block_index_tail
examples/cameron/concurrentqueue.h:2752
↓ 5 callers
Method
signal
examples/cameron/atomicops.h:389
↓ 5 callers
Method
wait
examples/cameron/atomicops.h:383
↓ 4 callers
Method
AddBytes
Register processed bytes in the current phase ! \param bytes - Bytes count */
include/benchmark/phase_metrics.h:117
↓ 4 callers
Method
InitLatencyHistogram
source/benchmark/phase_metrics.cpp:98
↓ 4 callers
Method
MergeMetrics
source/benchmark/phase_metrics.cpp:157
↓ 4 callers
Method
canceled
Is benchmark execution canceled?
include/benchmark/context.h:56
↓ 4 callers
Function
get_block_index_entry_for_index
examples/cameron/concurrentqueue.h:2758
↓ 4 callers
Method
threads
include/benchmark/phase_metrics.h:99
↓ 4 callers
Method
wait
examples/cameron/blockingconcurrentqueue.h:81
↓ 3 callers
Method
Report
source/benchmark/executor.cpp:98
↓ 3 callers
Method
ResetMetrics
source/benchmark/phase_metrics.cpp:206
↓ 3 callers
Method
ScopePhase
source/benchmark/phase_scope.cpp:44
↓ 3 callers
Method
SetThreads
Set threads value ! \param threads - Threads */
include/benchmark/phase_metrics.h:174
↓ 3 callers
Method
StartPhaseThreadSafe
source/benchmark/phase_core.cpp:38
↓ 3 callers
Method
Wait
source/benchmark/barrier.cpp:20
↓ 3 callers
Method
avg_time
source/benchmark/phase_metrics.cpp:59
↓ 3 callers
Method
bytes_per_second
source/benchmark/phase_metrics.cpp:90
↓ 3 callers
Function
compiler_fence
examples/cameron/atomicops.h:109
↓ 3 callers
Function
destroy
examples/cameron/concurrentqueue.h:3440
↓ 3 callers
Method
fetch_add_acquire
examples/cameron/atomicops.h:246
↓ 3 callers
Method
infinite
Is benchmark running with infinite count of operations (until cancel)?
include/benchmark/settings.h:55
↓ 3 callers
Method
items_per_second
source/benchmark/phase_metrics.cpp:82
↓ 3 callers
Method
latency_auto
Get automatic latency update flag
include/benchmark/settings.h:69
↓ 3 callers
Function
make_block
examples/cameron/readerwriterqueue.h:597
↓ 3 callers
Method
max_latency
source/benchmark/phase_metrics.cpp:44
↓ 3 callers
Method
max_time
source/benchmark/phase_metrics.cpp:69
↓ 3 callers
Method
mean_latency
source/benchmark/phase_metrics.cpp:49
↓ 3 callers
Method
min_latency
source/benchmark/phase_metrics.cpp:39
↓ 3 callers
Method
min_time
source/benchmark/phase_metrics.cpp:64
↓ 3 callers
Function
mygettimeofday
examples/timers.cpp:339
↓ 3 callers
Method
onLaunched
source/benchmark/launcher_console.cpp:115
↓ 3 callers
Method
onLaunching
source/benchmark/launcher_console.cpp:107
↓ 3 callers
Method
operations_per_second
source/benchmark/phase_metrics.cpp:74
↓ 3 callers
Function
populate_initial_implicit_producer_hash
examples/cameron/concurrentqueue.h:3151
↓ 3 callers
Method
stdv_latency
source/benchmark/phase_metrics.cpp:54
↓ 3 callers
Method
swap
Swaps this queue's state with the other's. Not thread-safe. Swapping two queues does not invalidate their tokens, however the tokens that were created
examples/cameron/blockingconcurrentqueue.h:391
↓ 3 callers
Method
total_time
Get total time of the phase execution
include/benchmark/phase_metrics.h:69
↓ 3 callers
Method
try_dequeue
examples/cameron/concurrentqueue.h:969
↓ 2 callers
Function
GetExpressibleSpan
This is just less than the smallest thing we can multiply numer by without overflowing. CeilLog2(numer) = 64 - number of leading zeros of numer
source/benchmark/system.cpp:69
↓ 2 callers
Function
QueryPerformanceFrequency
examples/timers.cpp:543
↓ 2 callers
Method
ReportBenchmark
source/benchmark/reporter_json.cpp:95
↓ 2 callers
Method
ReportBenchmarkFooter
source/benchmark/reporter_json.cpp:89
↓ 2 callers
Method
ReportBenchmarkHeader
source/benchmark/reporter_json.cpp:80
↓ 2 callers
Method
ReportBenchmarksFooter
source/benchmark/reporter_json.cpp:74
↓ 2 callers
Method
ReportBenchmarksHeader
source/benchmark/reporter_json.cpp:66
↓ 2 callers
Method
ReportEnvironment
source/benchmark/reporter_json.cpp:52
↓ 2 callers
Method
ReportFooter
source/benchmark/reporter_json.cpp:252
↓ 2 callers
Method
ReportHeader
source/benchmark/reporter_csv.cpp:13
↓ 2 callers
Method
ReportPhaseFooter
source/benchmark/reporter_json.cpp:128
↓ 2 callers
Method
ReportPhaseHeader
source/benchmark/reporter_json.cpp:119
↓ 2 callers
Method
ReportPhasesFooter
source/benchmark/reporter_json.cpp:113
↓ 2 callers
Method
ReportPhasesHeader
source/benchmark/reporter_json.cpp:105
↓ 2 callers
Method
ReportSystem
source/benchmark/reporter_json.cpp:39
↓ 2 callers
Function
ceilToPow2
examples/cameron/readerwriterqueue.h:519
↓ 2 callers
Function
circular_less_than
examples/cameron/concurrentqueue.h:338
↓ 2 callers
Method
description
source/benchmark/context.cpp:13
↓ 2 callers
Method
destroy
examples/cameron/blockingconcurrentqueue.h:740
↓ 2 callers
Function
get_block_index_index_for_index
examples/cameron/concurrentqueue.h:2765
↓ 2 callers
Function
get_or_add_implicit_producer
Only fails (returns nullptr) if memory allocation fails
examples/cameron/concurrentqueue.h:3201
↓ 2 callers
Function
hash_thread_id
examples/cameron/concurrentqueue.h:327
↓ 2 callers
Method
head_unsafe
Useful for traversing the list when there's no contention (e.g. to destroy remaining nodes)
examples/cameron/concurrentqueue.h:1354
↓ 2 callers
Method
initializations
tests/test_launcher.cpp:31
↓ 2 callers
Method
launching
tests/test_launcher.cpp:82
↓ 2 callers
Function
populate_initial_block_list
examples/cameron/concurrentqueue.h:2856
next →
1–100 of 565, ranked by callers