LCOV - code coverage report
Current view: top level - source/ps - Future.h (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 62 67 92.5 %
Date: 2023-01-19 00:18:29 Functions: 63 71 88.7 %

Function Name Sort by function name Hit count Sort by hit count
PackagedTask<TestFuture::test_future_return()::NonDef>::PackagedTask(PackagedTask<TestFuture::test_future_return()::NonDef> const&) 0
PackagedTask<int>::PackagedTask(PackagedTask<int> const&) 0
PackagedTask<void>::PackagedTask(PackagedTask<void> const&) 0
Future<int>::Future(Future<int>&&) 0
PackagedTask<void> Future<void>::Wrap<CCmpPathfinder::StartProcessingMoves(bool)::{lambda()#1}>(CCmpPathfinder::StartProcessingMoves(bool)::{lambda()#1}&&) 0
PackagedTask<void> Future<void>::Wrap<CMapGeneratorWorker::Initialize(Path const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda()#1}>(CMapGeneratorWorker::Initialize(Path const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::{lambda()#1}&&) 0
Future<void>::Future(Future<void>&&) 0
FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef>::Wait()::{lambda()#1}::operator()() const 0
PackagedTask<TestFuture::test_future_return()::NonDef>::operator()() 1
std::enable_if<!(is_same_v<TestFuture::test_future_return()::NonDef, void>), TestFuture::test_future_return()::NonDef>::type FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef>::GetResult<TestFuture::test_future_return()::NonDef>() 1
std::enable_if<!(is_same_v<TestFuture::test_future_return()::NonDef, void>), TestFuture::test_future_return()::NonDef>::type Future<TestFuture::test_future_return()::NonDef>::Get<TestFuture::test_future_return()::NonDef>() 1
Future<TestFuture::test_future_return()::NonDef>::Wait() 1
PackagedTask<TestFuture::test_future_return()::NonDef> Future<TestFuture::test_future_return()::NonDef>::Wrap<TestFuture::test_future_return()::{lambda()#3}>(TestFuture::test_future_return()::{lambda()#3}&&) 1
PackagedTask<TestFuture::test_future_return()::NonDef> Future<TestFuture::test_future_return()::NonDef>::Wrap<TestFuture::test_future_return()::{lambda()#4}>(TestFuture::test_future_return()::{lambda()#4}&&) 1
PackagedTask<int> Future<int>::Wrap<std::function<int ()> >(std::function<int ()>&&) 1
PackagedTask<int> Future<int>::Wrap<TestFuture::test_future_return()::{lambda()#2}>(TestFuture::test_future_return()::{lambda()#2}&&) 1
PackagedTask<int> Future<int>::Wrap<TestFuture::test_future_return()::{lambda()#1}>(TestFuture::test_future_return()::{lambda()#1}&&) 1
PackagedTask<void> Future<void>::Wrap<TestFuture::test_future_basic()::{lambda()#2}>(TestFuture::test_future_basic()::{lambda()#2}&&) 1
PackagedTask<void> Future<void>::Wrap<TestFuture::test_future_basic()::{lambda()#1}>(TestFuture::test_future_basic()::{lambda()#1}&&) 1
PackagedTask<void> Future<void>::Wrap<TestTaskManager::test_basic()::{lambda()#2}>(TestTaskManager::test_basic()::{lambda()#2}&&) 1
PackagedTask<void> Future<void>::Wrap<TestTaskManager::test_basic()::{lambda()#1}>(TestTaskManager::test_basic()::{lambda()#1}&&) 1
PackagedTask<void> Future<void>::Wrap<TestTaskManager::test_Load()::{lambda()#2}>(TestTaskManager::test_Load()::{lambda()#2}&&) 1
PackagedTask<void> Future<void>::Wrap<TestTaskManager::test_Load()::{lambda()#3}>(TestTaskManager::test_Load()::{lambda()#3}&&) 1
PackagedTask<void> Future<void>::Wrap<TestTaskManager::test_Load()::{lambda()#1}>(TestTaskManager::test_Load()::{lambda()#1}&&) 1
Future<void>::operator=(Future<void>&&) 1
Future<TestFuture::test_future_return()::NonDef>::Valid() const 1
PackagedTask<TestFuture::test_future_return()::NonDef>::PackagedTask(PackagedTask<TestFuture::test_future_return()::NonDef>&&) 2
PackagedTask<TestFuture::test_future_return()::NonDef>::PackagedTask(std::shared_ptr<FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef> >) 2
FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef>::Wait() 2
FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef>::SharedState(std::function<TestFuture::test_future_return()::NonDef ()>&&) 2
FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef>::~SharedState() 2
Future<TestFuture::test_future_return()::NonDef>::~Future() 2
FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef>::IsDoneOrCanceled() const 2
FutureSharedStateDetail::SharedState<TestFuture::test_future_return()::NonDef>::Cancel() 3
PackagedTask<TestFuture::test_future_return()::NonDef>::~PackagedTask() 4
PackagedTask<void> Future<void>::Wrap<TestTaskManager::test_Priority()::{lambda()#1}>(TestTaskManager::test_Priority()::{lambda()#1}&&) 4
FutureSharedStateDetail::SharedState<void>::Wait()::{lambda()#1}::operator()() const 4
Future<void>::Wait() 9
PackagedTask<void>::operator()() 10
PackagedTask<void>::PackagedTask(PackagedTask<void>&&) 11
PackagedTask<void>::PackagedTask(std::shared_ptr<FutureSharedStateDetail::SharedState<void> >) 11
FutureSharedStateDetail::SharedState<void>::SharedState(std::function<void ()>&&) 11
FutureSharedStateDetail::SharedState<void>::~SharedState() 11
Future<void>::CancelOrWait() 15
Future<void>::Future() 15
FutureSharedStateDetail::SharedState<void>::Wait() 19
FutureSharedStateDetail::SharedState<void>::Cancel() 21
PackagedTask<void>::~PackagedTask() 22
FutureSharedStateDetail::SharedState<void>::IsDoneOrCanceled() const 23
Future<void>::Valid() const 24
Future<void>::~Future() 26
FutureSharedStateDetail::SharedState<int>::Wait()::{lambda()#1}::operator()() const 3000
PackagedTask<int> Future<int>::Wrap<TestTaskManager::test_Load()::{lambda()#2}::operator()() const::{lambda()#1}>(TestTaskManager::test_Load()::{lambda()#2}::operator()() const::{lambda()#1}&&) 33333
PackagedTask<int> Future<int>::Wrap<TestTaskManager::test_Load()::{lambda()#3}::operator()() const::{lambda()#1}>(TestTaskManager::test_Load()::{lambda()#3}::operator()() const::{lambda()#1}&&) 33333
PackagedTask<int> Future<int>::Wrap<TestTaskManager::test_Load()::{lambda()#1}::operator()() const::{lambda()#1}>(TestTaskManager::test_Load()::{lambda()#1}::operator()() const::{lambda()#1}&&) 33334
Future<int>::Future() 100001
Future<int>::operator=(Future<int>&&) 100001
PackagedTask<int>::PackagedTask(PackagedTask<int>&&) 100003
PackagedTask<int>::PackagedTask(std::shared_ptr<FutureSharedStateDetail::SharedState<int> >) 100003
PackagedTask<int>::operator()() 100003
std::enable_if<!(is_same_v<int, void>), int>::type FutureSharedStateDetail::SharedState<int>::GetResult<int>() 100003
FutureSharedStateDetail::SharedState<int>::SharedState(std::function<int ()>&&) 100003
FutureSharedStateDetail::SharedState<int>::~SharedState() 100003
std::enable_if<!(is_same_v<int, void>), int>::type Future<int>::Get<int>() 100003
Future<int>::Wait() 100003
Future<int>::Valid() const 100003
Future<int>::~Future() 200004
PackagedTask<int>::~PackagedTask() 200006
FutureSharedStateDetail::SharedState<int>::Wait() 200006
FutureSharedStateDetail::SharedState<int>::Cancel() 200006
FutureSharedStateDetail::SharedState<int>::IsDoneOrCanceled() const 203006

Generated by: LCOV version 1.13