Changeset 101 for trunk/hal/generic
- Timestamp:
- Jun 29, 2017, 4:44:52 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_special.h
r95 r101 2 2 * hal_special.h - Generic Special Registers Access API definition. 3 3 * 4 * Authors Ghassan Almaless (2008,2009,2010,2011,2012) 5 * Alain Greiner (2016,2017) 4 * Authors Alain Greiner (2016,2017) 6 5 * 7 6 * Copyright (c) UPMC Sorbonne Universites … … 44 43 45 44 /***************************************************************************************** 46 * This function returns the content of the calling core cycles counter. 47 * This cycle counter is reset when the core is initialised (at reboot). 48 * If the hardware counter is not a 64 bits register, this function is in charge 49 * of handling overflow. 45 * This function returns the content of the calling core private cycles counter. 46 * This cycle counter is reset when the core is initialised (at each boot). 47 * If the hardware counter is not a 64 bits register, this function must handle overflow. 50 48 ****************************************************************************************/ 51 uint64_t hal_ time_stamp();49 uint64_t hal_get_cycles(); 52 50 53 51 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.