GCC Code Coverage Report


Directory: ./
Date: 2025-08-06 14:32:39
Exec Total Coverage
Lines: 481 505 95.2%
Functions: 100 102 98.0%
Branches: 257 284 90.5%

Function (File:Line) Call count Line coverage Branch coverage Condition coverage Block coverage
testPadding() (TESTS/TEST_PALIGNED_ALLOCATOR/main.cpp:42)called 1 time100.0%-%-%100.0%
testProfiler() (TESTS/TEST_PROFILER/main.cpp:27)called 1 time100.0%100.0%-%69.5%
testProfiler() (TESTS/TEST_PROFILER_THREAD/main.cpp:42)called 1 time100.0%100.0%-%67.6%
testCopyShape() (TESTS/TEST_COPY_SHAPE/main.cpp:15)called 1 time100.0%95.7%-%84.1%
testProfilerCsv() (TESTS/TEST_PROFILER/main.cpp:57)called 1 time100.0%100.0%-%77.1%
testProfilerCsv() (TESTS/TEST_PROFILER_THREAD/main.cpp:74)called 1 time100.0%100.0%-%72.9%
double reduceVectorVale<double>(std::vector<double, std::allocator<double> > const&) (src/PFunctionPerf.cpp:102)called 44 times100.0%100.0%-%100.0%
unsigned long reduceVectorVale<unsigned long>(std::vector<unsigned long, std::allocator<unsigned long> > const&) (src/PFunctionPerf.cpp:102)called 71 times100.0%-%-%100.0%
phoenix_copyShape(unsigned long*&, unsigned long const*, unsigned long) (src/phoenix_template_alloc.cpp:28)called 5 times100.0%80.0%-%92.3%
phoenix_copyShape(unsigned long*&, unsigned long&, unsigned long const*, unsigned long) (src/phoenix_template_alloc.cpp:47)called 5 times100.0%-%-%100.0%
testByteAlignment() (TESTS/TEST_PALIGNED_ALLOCATOR/main.cpp:78)called 1 time100.0%-%-%100.0%
testPFunctionPerf() (TESTS/TEST_PROFILER/main.cpp:78)called 1 time100.0%100.0%-%60.0%
unsigned long phoenix_getPadding<bool>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<char>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<double>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<float>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<unsigned char>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<int>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<unsigned int>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<long>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<unsigned long>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%100.0%-%100.0%
unsigned long phoenix_getPadding<short>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
unsigned long phoenix_getPadding<unsigned short>(unsigned long) (src/phoenix_template_alloc_impl.h:17)called 2 times100.0%-%-%100.0%
testStringhardware() (TESTS/TEST_HARDWARE/main.cpp:14)called 1 time100.0%100.0%-%75.0%
threadCallFunction(PProfiler&, unsigned long) (TESTS/TEST_PROFILER_THREAD/main.cpp:30)called 8 times100.0%100.0%-%100.0%
phoenix_getFullSize(unsigned long const*, unsigned long) (src/phoenix_template_alloc.cpp:15)called 1 time100.0%100.0%-%100.0%
phoenix_isSameShape(unsigned long const*, unsigned long, unsigned long const*, unsigned long) (src/phoenix_template_alloc.cpp:59)called 11 times100.0%100.0%-%100.0%
someFunctionToProfile(PProfiler&) (TESTS/TEST_PROFILER/main.cpp:17)called 800 times100.0%-%-%100.0%
someFunctionToProfile(PProfiler&, unsigned long) (TESTS/TEST_PROFILER_THREAD/main.cpp:19)called 3189 times100.0%-%-%100.0%
testPAlignedAllocator() (TESTS/TEST_PALIGNED_ALLOCATOR/main.cpp:14)called 1 time88.9%77.8%-%69.2%
bool phoenix_checkIsAligned<int>(int const*) (src/phoenix_template_alloc_impl.h:101)called 1 time100.0%-%-%100.0%
phoenix_hardware_rdtsc() (src/phoenix_hardware_rdtsc.cpp:23)called 7964 times100.0%-%-%100.0%
int* phoenix_template_alloc<int>(unsigned long&, bool&, Phoenix::AllocMode, unsigned long const*, unsigned long) (src/phoenix_template_alloc_impl.h:33)called 1 time37.0%18.8%-%23.5%
unsigned long phoenix_alignement_type<bool>() (src/phoenix_alignement_type.cpp:14)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<char>() (src/phoenix_alignement_type.cpp:20)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<double>() (src/phoenix_alignement_type.cpp:74)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<float>() (src/phoenix_alignement_type.cpp:68)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<unsigned char>() (src/phoenix_alignement_type.cpp:26)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<int>() (src/phoenix_alignement_type.cpp:44)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<unsigned int>() (src/phoenix_alignement_type.cpp:50)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<long>() (src/phoenix_alignement_type.cpp:56)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<unsigned long>() (src/phoenix_alignement_type.cpp:62)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<short>() (src/phoenix_alignement_type.cpp:32)called 2 times100.0%-%-%100.0%
unsigned long phoenix_alignement_type<unsigned short>() (src/phoenix_alignement_type.cpp:38)called 2 times100.0%-%-%100.0%
phoenix_allocAlignedTab(unsigned long, unsigned long) (src/phoenix_allocAlignedVector.cpp:35)called 1 time100.0%-%-%100.0%
phoenix_hardware_nbCore() (src/phoenix_hardware_characteristics.cpp:96)called 1 time57.1%25.0%-%50.0%
phoenix_hardware_usedRAM() (src/phoenix_hardware_characteristics.cpp:29)called 1 time100.0%-%-%100.0%
phoenix_freeAlignedVector(void*) (src/phoenix_allocAlignedVector.cpp:49)called 2 times100.0%100.0%-%100.0%
phoenix_hardware_totalRAM() (src/phoenix_hardware_characteristics.cpp:58)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<bool>() (src/phoenix_alignement_type.cpp:82)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<char>() (src/phoenix_alignement_type.cpp:88)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<double>() (src/phoenix_alignement_type.cpp:142)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<float>() (src/phoenix_alignement_type.cpp:136)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<unsigned char>() (src/phoenix_alignement_type.cpp:94)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<int>() (src/phoenix_alignement_type.cpp:112)called 3 times100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<unsigned int>() (src/phoenix_alignement_type.cpp:118)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<long>() (src/phoenix_alignement_type.cpp:124)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<unsigned long>() (src/phoenix_alignement_type.cpp:130)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<short>() (src/phoenix_alignement_type.cpp:100)called 1 time100.0%-%-%100.0%
unsigned long phoenix_alignement_in_bytes<unsigned short>() (src/phoenix_alignement_type.cpp:106)called 1 time100.0%-%-%100.0%
phoenix_hardware_hostNameIp(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (src/phoenix_hardware_characteristics.cpp:73)called 1 time100.0%77.8%-%80.0%
int* phoenix_template_alloc_aligned1d<int>(unsigned long) (src/phoenix_template_alloc_impl.h:72)called 1 time100.0%100.0%-%100.0%
PFunctionPerf::copyPFunctionPerf(PFunctionPerf const&) (src/PFunctionPerf.cpp:167)called 9 times100.0%-%-%100.0%
PFunctionPerf::initialisationPFunctionPerf(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PFunctionPerf.cpp:180)called 6 times100.0%-%-%100.0%
PFunctionPerf::stop(unsigned long) (src/PFunctionPerf.cpp:68)called 3979 times100.0%100.0%-%100.0%
PFunctionPerf::reset(unsigned long) (src/PFunctionPerf.cpp:81)called 41 times100.0%-%-%100.0%
PFunctionPerf::reset() (src/PFunctionPerf.cpp:91)called 12 times100.0%100.0%-%100.0%
PFunctionPerf::start(unsigned long) (src/PFunctionPerf.cpp:61)called 3990 times100.0%-%-%100.0%
PFunctionPerf::resize(unsigned long) (src/PFunctionPerf.cpp:48)called 10 times100.0%-%-%100.0%
PFunctionPerf::setName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PFunctionPerf.cpp:41)called 2 times100.0%-%-%100.0%
PFunctionPerf::PFunctionPerf(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PFunctionPerf.cpp:13)called 6 times100.0%100.0%-%43.5%
PFunctionPerf::PFunctionPerf(PFunctionPerf const&) (src/PFunctionPerf.cpp:20)called 8 times100.0%100.0%-%43.5%
PFunctionPerf::~PFunctionPerf() (src/PFunctionPerf.cpp:25)not called100.0%-%-%0.0%
PFunctionPerf::~PFunctionPerf() (src/PFunctionPerf.cpp:25)called 14 times100.0%-%-%100.0%
PFunctionPerf::operator=(PFunctionPerf const&) (src/PFunctionPerf.cpp:33)called 1 time100.0%-%-%100.0%
PAlignedAllocator<int>::deallocate(int*, unsigned long) (src/PAlignedAllocator.h:50)called 1 time100.0%-%-%100.0%
PAlignedAllocator<int>::allocate(unsigned long) (src/PAlignedAllocator.h:36)called 1 time71.4%50.0%-%50.0%
PProfiler::addFunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long) (src/PProfiler.cpp:43)called 4 times100.0%100.0%-%84.6%
PProfiler::copyPProfiler(PProfiler const&) (src/PProfiler.cpp:118)called 4 times100.0%-%-%100.0%
PProfiler::initialisationPProfiler() (src/PProfiler.cpp:123)called 6 times100.0%-%-%100.0%
PProfiler::stop(unsigned long, unsigned long) (src/PProfiler.cpp:71)called 4000 times100.0%-%-%100.0%
PProfiler::reset(unsigned long, unsigned long) (src/PProfiler.cpp:79)called 20 times100.0%-%-%100.0%
PProfiler::reset() (src/PProfiler.cpp:84)called 2 times100.0%100.0%-%100.0%
PProfiler::start(unsigned long, unsigned long) (src/PProfiler.cpp:63)called 3987 times100.0%-%-%100.0%
PProfiler::rename(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PProfiler.cpp:55)called 2 times100.0%-%-%100.0%
PProfiler::PProfiler(PProfiler const&) (src/PProfiler.cpp:20)called 2 times100.0%100.0%-%80.0%
PProfiler::PProfiler() (src/PProfiler.cpp:13)called 6 times100.0%100.0%-%80.0%
PProfiler::~PProfiler() (src/PProfiler.cpp:25)not called100.0%-%-%0.0%
PProfiler::~PProfiler() (src/PProfiler.cpp:25)called 8 times100.0%-%-%100.0%
PProfiler::operator=(PProfiler const&) (src/PProfiler.cpp:33)called 2 times100.0%-%-%100.0%
PFunctionPerf::print(std::ostream&) const (src/PFunctionPerf.cpp:145)called 16 times100.0%100.0%-%100.0%
PFunctionPerf::getName[abi:cxx11]() const (src/PFunctionPerf.cpp:138)called 2 times100.0%-%-%100.0%
PFunctionPerf::getPerf(unsigned long&, double&, double&, double&, unsigned long&, unsigned long&) const (src/PFunctionPerf.cpp:118)called 27 times100.0%100.0%-%100.0%
PFunctionPerf::printCsv(std::ostream&) const (src/PFunctionPerf.cpp:156)called 11 times100.0%100.0%-%100.0%
PProfiler::printCsvHeader(std::ostream&) const (src/PProfiler.cpp:102)called 2 times100.0%-%-%100.0%
PProfiler::print(std::ostream&) const (src/PProfiler.cpp:93)called 16 times100.0%100.0%-%100.0%
PProfiler::printCsv(std::ostream&) const (src/PProfiler.cpp:109)called 11 times100.0%100.0%-%100.0%
main (TESTS/TEST_COPY_SHAPE/main.cpp:48)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_HARDWARE/main.cpp:27)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_PALIGNED_ALLOCATOR/main.cpp:97)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_PROFILER/main.cpp:88)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_PROFILER_THREAD/main.cpp:96)called 1 time100.0%-%-%100.0%