join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
monotonicraw_wheel_test.cpp File Reference
#include <join/wheel.hpp>
#include <gtest/gtest.h>
#include <thread>
#include <chrono>
#include <atomic>
Include dependency graph for monotonicraw_wheel_test.cpp:

Typedefs

using Wheel = MonotonicRaw::Wheel<64>
 

Functions

 TEST (MonotonicRawWheel, setOneShot)
 Test setOneShot.
 
 TEST (MonotonicRawWheel, setInterval)
 Test setInterval.
 
 TEST (MonotonicRawWheel, cancel)
 Test cancel.
 
 TEST (MonotonicRawWheel, active)
 Test active.
 
 TEST (MonotonicRawWheel, remaining)
 Test remaining.
 
 TEST (MonotonicRawWheel, interval)
 Test interval.
 
 TEST (MonotonicRawWheel, oneShot)
 Test oneShot.
 
 TEST (MonotonicRawWheel, runner)
 Test runner.
 
 TEST (MonotonicRawWheel, mlock)
 Test mlock.
 
 TEST (MonotonicRawWheel, resolution)
 Test resolution.
 
 TEST (MonotonicRawWheel, capacity)
 Test capacity.
 
int main (int argc, char **argv)
 main function.
 

Typedef Documentation

◆ Wheel

using Wheel = MonotonicRaw::Wheel<64>

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/11]

TEST ( MonotonicRawWheel ,
active  )

Test active.

◆ TEST() [2/11]

TEST ( MonotonicRawWheel ,
cancel  )

Test cancel.

◆ TEST() [3/11]

TEST ( MonotonicRawWheel ,
capacity  )

Test capacity.

◆ TEST() [4/11]

TEST ( MonotonicRawWheel ,
interval  )

Test interval.

◆ TEST() [5/11]

TEST ( MonotonicRawWheel ,
mlock  )

Test mlock.

◆ TEST() [6/11]

TEST ( MonotonicRawWheel ,
oneShot  )

Test oneShot.

◆ TEST() [7/11]

TEST ( MonotonicRawWheel ,
remaining  )

Test remaining.

◆ TEST() [8/11]

TEST ( MonotonicRawWheel ,
resolution  )

Test resolution.

◆ TEST() [9/11]

TEST ( MonotonicRawWheel ,
runner  )

Test runner.

◆ TEST() [10/11]

TEST ( MonotonicRawWheel ,
setInterval  )

Test setInterval.

◆ TEST() [11/11]

TEST ( MonotonicRawWheel ,
setOneShot  )

Test setOneShot.