Changeset 5f225f5 for src/Common
- Timestamp:
- May 11, 2024, 6:13:16 PM (5 months ago)
- Branches:
- master
- Children:
- bf4fe05
- Parents:
- c778ef1
- Location:
- src/Common
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/Assert.cpp
rc778ef1 r5f225f5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Assert.c c--7 // Assert.cpp -- 8 8 // 9 9 // Author : Peter A. Buhr … … 22 22 #define CFA_ASSERT_FMT "*CFA assertion error* \"%s\" from program \"%s\" in \"%s\" at line %d in file \"%s\"" 23 23 24 // called by macro assert in assert.h24 // called by macro assert in cassert 25 25 void __assert_fail( const char *assertion, const char *file, unsigned int line, const char *function ) { 26 26 fprintf( stderr, CFA_ASSERT_FMT ".\n", assertion, __progname, function, line, file ); -
src/Common/FilterCombos.hpp
rc778ef1 r5f225f5 22 22 23 23 /// Combo iterator that simply collects values into a vector, marking all values as valid. 24 /// Prefer combos in typeops.hto use of IntoVectorComboIter with filterCombos24 /// Prefer combos in Typeops.hpp to use of IntoVectorComboIter with filterCombos 25 25 /// @param T The element type of the vector. 26 26 template<typename T> -
src/Common/Stats.hpp
rc778ef1 r5f225f5 24 24 25 25 These can be enabled using the --stats option, to which a comma seperated list of options can be passed. 26 For more details see Stats.cc26 For more information, see Stats/Stats.cpp 27 27 28 28 Counters: -
src/Common/Stats/Base.hpp
rc778ef1 r5f225f5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Heap.h --7 // Heap.hpp -- 8 8 // 9 9 // Author : Thierry Delisle -
src/Common/Stats/Heap.cpp
rc778ef1 r5f225f5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Heap.c c--7 // Heap.cpp -- 8 8 // 9 9 // Author : Thierry Delisle … … 69 69 void stacktrace_push(size_t id) { 70 70 ++stacktrace_depth; 71 assertf(stacktrace_depth < stacktrace_max_depth, "Stack trace too deep: increase size of array in Heap.c c");71 assertf(stacktrace_depth < stacktrace_max_depth, "Stack trace too deep: increase size of array in Heap.cpp"); 72 72 trace[stacktrace_depth] = id; 73 73 } … … 87 87 passes_cnt++; 88 88 89 assertf(passes_cnt < passes_size, "Too many passes for Stats::Heap, increase the size of the array in Heap.c c");89 assertf(passes_cnt < passes_size, "Too many passes for Stats::Heap, increase the size of the array in Heap.cpp"); 90 90 } 91 91 -
src/Common/Stats/Stats.cpp
rc778ef1 r5f225f5 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Stats.c c--7 // Stats.cpp -- 8 8 // 9 9 // Author : Thierry Delisle
Note: See TracChangeset
for help on using the changeset viewer.