![]() |
![]() |
#include <xdc/std.h>
#include <ti/sdo/dmai/Dmai.h>
Go to the source code of this file.
Data Structures | |
struct | Time_Attrs |
Attributes used to create a Time. More... | |
Typedefs | |
typedef struct Time_Object * | Time_Handle |
Handle through which to reference a Time Object. | |
Functions | |
Time_Handle | Time_create (Time_Attrs *attrs) |
Creates a Time Object to use for benchmarking. Must be called before a Time_Handle can be used for subsequent operations. | |
Int | Time_delete (Time_Handle hTime) |
Deletes a Time Object. After this call has been made no following Time API calls can be made on this Time_Handle. | |
Int | Time_reset (Time_Handle hTime) |
Resets the state of the timer. Can be called multiple times and must be called before the Time_delta and Time_total functions are called. | |
Int | Time_delta (Time_Handle hTime, Uint32 *deltaPtr) |
Calculates the delta in microseconds between now and the last time delta was called (or when reset was called if that is more recent) on this Time_Handle. | |
Int | Time_total (Time_Handle hTime, Uint32 *totalPtr) |
Calculates the delta in microseconds between now and the last time reset was called on this timer object. | |
Variables | |
const Time_Attrs | Time_Attrs_DEFAULT |
Default attributes for a Time. |