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
Method
add_knowing_refcount_is_zero
examples/cameron/concurrentqueue.h:1357
Function
align_for
examples/cameron/readerwriterqueue.h:534
Function
align_for
examples/cameron/concurrentqueue.h:348
Function
calculate
examples/executor.cpp:20
Method
consumers
Benchmark consumers count
include/benchmark/context_pc.h:42
Function
create
examples/cameron/concurrentqueue.h:3426
Method
create
examples/cameron/blockingconcurrentqueue.h:726
Function
create_array
examples/cameron/concurrentqueue.h:3399
Method
dequeue
examples/lockfree/spsc-bounded-queue.hpp:67
Method
dequeue
examples/lockfree/lock-bounded-queue.hpp:33
Method
dequeue
examples/lockfree/mpmc-bounded-queue.hpp:95
Method
dequeue
examples/cameron/concurrentqueue.h:1554
Function
dequeue_bulk
examples/cameron/concurrentqueue.h:2604
Method
dequeue_bulk
examples/cameron/concurrentqueue.h:1565
Method
description
source/benchmark/context_threads.cpp:13
Method
description
source/benchmark/context_pc.cpp:13
Function
enqueue
Enqueues a copy of element on the queue. Allocates an additional block of memory if needed. Only fails (returns false) if memory allocation fails.
examples/cameron/readerwriterqueue.h:168
Method
enqueue
examples/lockfree/spsc-bounded-queue.hpp:55
Method
enqueue
examples/lockfree/spsc-queue.hpp:52
Method
enqueue
examples/lockfree/lock-bounded-queue.hpp:24
Method
enqueue
examples/lockfree/mpmc-bounded-queue.hpp:56
Method
enqueue
Enqueues a copy of element on the queue. Allocates an additional block of memory if needed. Only fails (returns false) if memory allocation fails.
examples/cameron/readerwriterqueue.h:667
Method
enqueue
Enqueues a single item (by copying it). Allocates memory if required. Only fails if memory allocation fails (or implicit production is disabled becaus
examples/cameron/blockingconcurrentqueue.h:414
Method
enqueue
Enqueues a single item (by copying it). Allocates memory if required. Only fails if memory allocation fails (or implicit production is disabled becaus
examples/cameron/concurrentqueue.h:839
Method
enqueue
examples/cameron/concurrentqueue.h:1691
Method
enqueue
examples/cameron/concurrentqueue.h:2318
Function
enqueue_bulk
examples/cameron/concurrentqueue.h:2454
Method
enqueue_bulk
examples/cameron/blockingconcurrentqueue.h:470
Method
enqueue_bulk
examples/cameron/concurrentqueue.h:881
Method
eval
examples/cameron/concurrentqueue.h:399
Method
free
examples/cameron/concurrentqueue.h:262
Method
frontPtr
pointer to the value at the front of the queue (for use in-place) or nullptr if empty.
examples/folly/ProducerConsumerQueue.h:110
Method
getFor
examples/cameron/concurrentqueue.h:2947
Function
getMemStats
For debugging only. Not thread-safe.
examples/cameron/concurrentqueue.h:3025
Method
getTail
examples/cameron/concurrentqueue.h:1584
Method
hash
examples/cameron/concurrentqueue.h:302
Method
hash
examples/cameron/concurrentqueue.h:316
Function
implicit_producer_thread_exited
examples/cameron/concurrentqueue.h:3352
Function
implicit_producer_thread_exited_callback
examples/cameron/concurrentqueue.h:3386
Function
inner_enqueue
examples/cameron/readerwriterqueue.h:414
Method
inner_enqueue
examples/cameron/concurrentqueue.h:1208
Method
inner_enqueue_bulk
examples/cameron/concurrentqueue.h:1221
Function
insert_block_index_entry
examples/cameron/concurrentqueue.h:2726
Method
isEmpty
examples/folly/ProducerConsumerQueue.h:132
Method
isFull
examples/folly/ProducerConsumerQueue.h:137
Method
is_empty
examples/cameron/concurrentqueue.h:1411
Method
is_lock_free
Returns true if the underlying atomic variables used by the queue are lock-free (they should be on most platforms). Thread-safe.
examples/cameron/blockingconcurrentqueue.h:718
Method
is_lock_free
Returns true if the underlying atomic variables used by the queue are lock-free (they should be on most platforms). Thread-safe.
examples/cameron/concurrentqueue.h:1182
Method
lock_bounded_queue_t
examples/lockfree/lock-bounded-queue.hpp:13
Function
main
examples/executor.cpp:68
Method
malloc
Memory allocation can be customized if needed. malloc should return nullptr on failure, and handle alignment like std::malloc.
examples/cameron/concurrentqueue.h:261
Method
mpmc_bounded_queue_t
examples/lockfree/mpmc-bounded-queue.hpp:40
Method
mpsc_queue_t
examples/lockfree/mpsc-queue.hpp:39
Method
new_block_index
examples/cameron/concurrentqueue.h:2187
Method
onLaunched
tests/test_launcher.cpp:89
Method
onLaunched
Handle benchmark launched notification ! This method is called after launched the given benchmark. \param current - Current benchmark
include/benchmark/launcher_handler.h:58
Method
onLaunching
tests/test_launcher.cpp:88
Method
onLaunching
Handle benchmark launching notification ! This method is called before launching the given benchmark. \param current - Current benchm
include/benchmark/launcher_handler.h:47
Method
operator=
examples/lockfree/spsc-bounded-queue.hpp:94
Method
operator=
examples/lockfree/mpsc-queue.hpp:94
Method
operator=
examples/lockfree/spsc-queue.hpp:96
Method
operator=
examples/lockfree/lock-bounded-queue.hpp:55
Method
operator=
examples/lockfree/mpmc-bounded-queue.hpp:153
Method
operator[]
examples/cameron/concurrentqueue.h:1507
Function
peek
Returns a pointer to the front element in the queue (the one that would be removed next by a call to `try_dequeue` or `pop`). If the queue appears emp
examples/cameron/readerwriterqueue.h:285
Method
peek
Returns a pointer to the front element in the queue (the one that would be removed next by a call to `try_dequeue` or `pop`). If the queue appears emp
examples/cameron/readerwriterqueue.h:723
Function
pop
Removes the front element from the queue, if any, without returning it. Returns true on success, or false if the queue appeared empty at the time `pop
examples/cameron/readerwriterqueue.h:327
Method
popFront
queue must not be empty
examples/folly/ProducerConsumerQueue.h:120
Method
producers
Benchmark producers count
include/benchmark/context_pc.h:40
Function
requisition_block
examples/cameron/concurrentqueue.h:2908
Method
reset_empty
examples/cameron/concurrentqueue.h:1493
Method
set_all_empty
examples/cameron/concurrentqueue.h:1478
Method
set_empty
examples/cameron/concurrentqueue.h:1438
Method
set_many_empty
examples/cameron/concurrentqueue.h:1457
Method
signal
examples/cameron/blockingconcurrentqueue.h:291
Method
signal
examples/cameron/atomicops.h:546
Method
sizeGuess
If called by consumer, then true size may be more (because producer may be adding items concurrently). If called by producer, then true size may be le
examples/folly/ProducerConsumerQueue.h:154
Function
size_approx
Returns the approximate number of items currently in the queue. Safe to call from both the producer and consumer threads.
examples/cameron/readerwriterqueue.h:394
Method
size_approx
Returns the approximate number of items currently in the queue. Safe to call from both the producer and consumer threads.
examples/cameron/readerwriterqueue.h:744
Method
size_approx
Returns an estimate of the total number of elements currently in the queue. This estimate is only accurate if the queue has completely stabilized befo
examples/cameron/blockingconcurrentqueue.h:709
Method
size_approx
examples/cameron/concurrentqueue.h:1577
Method
spsc_bounded_queue_t
examples/lockfree/spsc-bounded-queue.hpp:44
Method
spsc_queue_t
examples/lockfree/spsc-queue.hpp:40
Method
subscribe
examples/cameron/concurrentqueue.h:436
Function
swap
examples/cameron/blockingconcurrentqueue.h:755
Method
swap
examples/cameron/concurrentqueue.h:579
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/concurrentqueue.h:799
Method
swap
examples/cameron/concurrentqueue.h:1295
Method
swap
examples/cameron/concurrentqueue.h:3132
Method
threads
Benchmark threads count
include/benchmark/context_threads.h:39
Function
try_dequeue
examples/cameron/readerwriterqueue.h:186
Method
try_dequeue_bulk
examples/cameron/blockingconcurrentqueue.h:618
Method
try_dequeue_bulk
examples/cameron/concurrentqueue.h:1075
Method
try_dequeue_bulk_from_producer
examples/cameron/concurrentqueue.h:1157
Method
try_dequeue_from_producer
examples/cameron/concurrentqueue.h:1144
Method
try_dequeue_non_interleaved
examples/cameron/concurrentqueue.h:1012
Function
try_enqueue
Enqueues a copy of element if there is room in the queue. Returns true if the element was enqueued, false otherwise. Does not allocate memory.
examples/cameron/readerwriterqueue.h:151
Method
try_enqueue
Enqueues a copy of element if there is room in the queue. Returns true if the element was enqueued, false otherwise. Does not allocate memory.
examples/cameron/readerwriterqueue.h:642
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/blockingconcurrentqueue.h:500
Method
try_enqueue_bulk
examples/cameron/blockingconcurrentqueue.h:555
← previous
next →
401–500 of 565, ranked by callers