Changeset 101 for trunk/hal/generic


Ignore:
Timestamp:
Jun 29, 2017, 4:44:52 PM (7 years ago)
Author:
alain
Message:

euh...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_special.h

    r95 r101  
    22 * hal_special.h - Generic Special Registers Access API definition.
    33 *
    4  * Authors   Ghassan Almaless (2008,2009,2010,2011,2012)
    5  *           Alain Greiner    (2016,2017)
     4 * Authors   Alain Greiner    (2016,2017)
    65 *
    76 * Copyright (c)  UPMC Sorbonne Universites
     
    4443
    4544/*****************************************************************************************
    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.
    5048 ****************************************************************************************/
    51 uint64_t hal_time_stamp();
     49uint64_t hal_get_cycles();
    5250
    5351/*****************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.