MCPcopy Create free account

hub / github.com/chronoxor/CppBenchmark / functions

Functions565 in github.com/chronoxor/CppBenchmark

Methodadd_knowing_refcount_is_zero
examples/cameron/concurrentqueue.h:1357
Functionalign_for
examples/cameron/readerwriterqueue.h:534
Functionalign_for
examples/cameron/concurrentqueue.h:348
Functioncalculate
examples/executor.cpp:20
Methodconsumers
Benchmark consumers count
include/benchmark/context_pc.h:42
Functioncreate
examples/cameron/concurrentqueue.h:3426
Methodcreate
examples/cameron/blockingconcurrentqueue.h:726
Functioncreate_array
examples/cameron/concurrentqueue.h:3399
Methoddequeue
examples/lockfree/spsc-bounded-queue.hpp:67
Methoddequeue
examples/lockfree/lock-bounded-queue.hpp:33
Methoddequeue
examples/lockfree/mpmc-bounded-queue.hpp:95
Methoddequeue
examples/cameron/concurrentqueue.h:1554
Functiondequeue_bulk
examples/cameron/concurrentqueue.h:2604
Methoddequeue_bulk
examples/cameron/concurrentqueue.h:1565
Methoddescription
source/benchmark/context_threads.cpp:13
Methoddescription
source/benchmark/context_pc.cpp:13
Functionenqueue
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
Methodenqueue
examples/lockfree/spsc-bounded-queue.hpp:55
Methodenqueue
examples/lockfree/spsc-queue.hpp:52
Methodenqueue
examples/lockfree/lock-bounded-queue.hpp:24
Methodenqueue
examples/lockfree/mpmc-bounded-queue.hpp:56
Methodenqueue
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
Methodenqueue
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
Methodenqueue
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
Methodenqueue
examples/cameron/concurrentqueue.h:1691
Methodenqueue
examples/cameron/concurrentqueue.h:2318
Functionenqueue_bulk
examples/cameron/concurrentqueue.h:2454
Methodenqueue_bulk
examples/cameron/blockingconcurrentqueue.h:470
Methodenqueue_bulk
examples/cameron/concurrentqueue.h:881
Methodeval
examples/cameron/concurrentqueue.h:399
Methodfree
examples/cameron/concurrentqueue.h:262
MethodfrontPtr
pointer to the value at the front of the queue (for use in-place) or nullptr if empty.
examples/folly/ProducerConsumerQueue.h:110
MethodgetFor
examples/cameron/concurrentqueue.h:2947
FunctiongetMemStats
For debugging only. Not thread-safe.
examples/cameron/concurrentqueue.h:3025
MethodgetTail
examples/cameron/concurrentqueue.h:1584
Methodhash
examples/cameron/concurrentqueue.h:302
Methodhash
examples/cameron/concurrentqueue.h:316
Functionimplicit_producer_thread_exited
examples/cameron/concurrentqueue.h:3352
Functionimplicit_producer_thread_exited_callback
examples/cameron/concurrentqueue.h:3386
Functioninner_enqueue
examples/cameron/readerwriterqueue.h:414
Methodinner_enqueue
examples/cameron/concurrentqueue.h:1208
Methodinner_enqueue_bulk
examples/cameron/concurrentqueue.h:1221
Functioninsert_block_index_entry
examples/cameron/concurrentqueue.h:2726
MethodisEmpty
examples/folly/ProducerConsumerQueue.h:132
MethodisFull
examples/folly/ProducerConsumerQueue.h:137
Methodis_empty
examples/cameron/concurrentqueue.h:1411
Methodis_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
Methodis_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
Methodlock_bounded_queue_t
examples/lockfree/lock-bounded-queue.hpp:13
Functionmain
examples/executor.cpp:68
Methodmalloc
Memory allocation can be customized if needed. malloc should return nullptr on failure, and handle alignment like std::malloc.
examples/cameron/concurrentqueue.h:261
Methodmpmc_bounded_queue_t
examples/lockfree/mpmc-bounded-queue.hpp:40
Methodmpsc_queue_t
examples/lockfree/mpsc-queue.hpp:39
Methodnew_block_index
examples/cameron/concurrentqueue.h:2187
MethodonLaunched
tests/test_launcher.cpp:89
MethodonLaunched
Handle benchmark launched notification ! This method is called after launched the given benchmark. \param current - Current benchmark
include/benchmark/launcher_handler.h:58
MethodonLaunching
tests/test_launcher.cpp:88
MethodonLaunching
Handle benchmark launching notification ! This method is called before launching the given benchmark. \param current - Current benchm
include/benchmark/launcher_handler.h:47
Methodoperator=
examples/lockfree/spsc-bounded-queue.hpp:94
Methodoperator=
examples/lockfree/mpsc-queue.hpp:94
Methodoperator=
examples/lockfree/spsc-queue.hpp:96
Methodoperator=
examples/lockfree/lock-bounded-queue.hpp:55
Methodoperator=
examples/lockfree/mpmc-bounded-queue.hpp:153
Methodoperator[]
examples/cameron/concurrentqueue.h:1507
Functionpeek
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
Methodpeek
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
Functionpop
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
MethodpopFront
queue must not be empty
examples/folly/ProducerConsumerQueue.h:120
Methodproducers
Benchmark producers count
include/benchmark/context_pc.h:40
Functionrequisition_block
examples/cameron/concurrentqueue.h:2908
Methodreset_empty
examples/cameron/concurrentqueue.h:1493
Methodset_all_empty
examples/cameron/concurrentqueue.h:1478
Methodset_empty
examples/cameron/concurrentqueue.h:1438
Methodset_many_empty
examples/cameron/concurrentqueue.h:1457
Methodsignal
examples/cameron/blockingconcurrentqueue.h:291
Methodsignal
examples/cameron/atomicops.h:546
MethodsizeGuess
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
Functionsize_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
Methodsize_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
Methodsize_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
Methodsize_approx
examples/cameron/concurrentqueue.h:1577
Methodspsc_bounded_queue_t
examples/lockfree/spsc-bounded-queue.hpp:44
Methodspsc_queue_t
examples/lockfree/spsc-queue.hpp:40
Methodsubscribe
examples/cameron/concurrentqueue.h:436
Functionswap
examples/cameron/blockingconcurrentqueue.h:755
Methodswap
examples/cameron/concurrentqueue.h:579
Methodswap
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
Methodswap
examples/cameron/concurrentqueue.h:1295
Methodswap
examples/cameron/concurrentqueue.h:3132
Methodthreads
Benchmark threads count
include/benchmark/context_threads.h:39
Functiontry_dequeue
examples/cameron/readerwriterqueue.h:186
Methodtry_dequeue_bulk
examples/cameron/blockingconcurrentqueue.h:618
Methodtry_dequeue_bulk
examples/cameron/concurrentqueue.h:1075
Methodtry_dequeue_bulk_from_producer
examples/cameron/concurrentqueue.h:1157
Methodtry_dequeue_from_producer
examples/cameron/concurrentqueue.h:1144
Methodtry_dequeue_non_interleaved
examples/cameron/concurrentqueue.h:1012
Functiontry_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
Methodtry_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
Methodtry_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
Methodtry_enqueue_bulk
examples/cameron/blockingconcurrentqueue.h:555
← previousnext →401–500 of 565, ranked by callers