MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / defineTest

Method defineTest

samples/common/logging.h:365–368  ·  view source on GitHub ↗

\brief Define a test for logging \param[in] name The name of the test. This should be a string starting with "TensorRT" and containing dot-separated strings containing the characters [A-Za-z0-9_]. For example, "TensorRT.sample_googlenet" \param[in] cmdline The command line used to reproduce the test \return a TestAtom that can be used in Logger::reportTest{Start,End}().

Source from the content-addressed store, hash-verified

363 //! \return a TestAtom that can be used in Logger::reportTest{Start,End}().
364 //!
365 static TestAtom defineTest(const std::string& name, const std::string& cmdline)
366 {
367 return TestAtom(false, name, cmdline);
368 }
369
370 //!
371 //! \brief A convenience overloaded version of defineTest() that accepts an array of command-line arguments

Callers 8

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

TestAtomClass · 0.70

Tested by

no test coverage detected