|
timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
#include <cassert>#include <cstdint>#include <cstdio>#include <iomanip>#include <iostream>#include <sstream>#include <stdexcept>#include "timemory/backends/dmp.hpp"#include "timemory/utility/macros.hpp"
Include dependency graph for testing.hpp:Go to the source code of this file.
Macros | |
| #define | EXPECT_EQ(lhs, rhs) |
| #define | ASSERT_FALSE(expr) |
| #define | ASSERT_TRUE(expr) |
| #define | rank_cout std::cout << rank_prefix() |
| #define | TEST_SUMMARY(argv_0, ntest_counter, nfail_counter) |
| #define | CONFIGURE_TEST_SELECTOR(total_tests) |
| #define | RUN_TEST(test_num, func, ntest_counter, nfail_counter) |
Functions | |
| std::string | rank_prefix () |
This is used for C++ testing of the timemory package
Definition in file testing.hpp.
| #define ASSERT_FALSE | ( | expr | ) |
Definition at line 68 of file testing.hpp.
| #define ASSERT_TRUE | ( | expr | ) |
Definition at line 80 of file testing.hpp.
| #define CONFIGURE_TEST_SELECTOR | ( | total_tests | ) |
Definition at line 131 of file testing.hpp.
| #define EXPECT_EQ | ( | lhs, | |
| rhs | |||
| ) |
Definition at line 56 of file testing.hpp.
| #define rank_cout std::cout << rank_prefix() |
Definition at line 100 of file testing.hpp.
| #define RUN_TEST | ( | test_num, | |
| func, | |||
| ntest_counter, | |||
| nfail_counter | |||
| ) |
Definition at line 155 of file testing.hpp.
| #define TEST_SUMMARY | ( | argv_0, | |
| ntest_counter, | |||
| nfail_counter | |||
| ) |
Definition at line 103 of file testing.hpp.
|
inline |
Definition at line 92 of file testing.hpp.