micro-test-plus 4.1.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
timings.cpp File Reference

C++ source file with implementations for the µTest++ timings methods. More...

#include <cassert>
#include "micro-os-plus/micro-test-plus/timings.h"

Go to the source code of this file.

Namespaces

namespace  micro_os_plus
 The primary namespace for the µOS++ framework.
namespace  micro_os_plus::micro_test_plus
 Primary namespace for the µTest++ testing framework.
namespace  micro_os_plus::micro_test_plus::detail
 Internal implementation details for the µTest++ framework.

Detailed Description

This source file contains the implementations for the timestamp and timestamps classes of the µTest++ framework. It provides methods for capturing monotonic clock values, checking whether valid timestamps have been recorded, and computing the elapsed time in milliseconds and microseconds between a begin and an end timestamp.

All definitions reside within the micro_os_plus::micro_test_plus namespace.

This file must be included when building the µTest++ library.

Definition in file timings.cpp.