Ignore:
Timestamp:
Aug 14, 2017, 11:39:03 AM (7 years ago)
Author:
alain
Message:

Change Time unit from cycle to TICK (in millisecond).
Fix several bugs in VFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/core.h

    r279 r367  
    5050        lid_t               lid;            /*! core local index in cluster                */
    5151        gid_t               gid;            /*! core global identifier (hardware index)    */
     52
    5253        uint64_t            cycles;         /*! total number of cycles (from hard reset)   */
    5354        uint32_t            time_stamp;     /*! previous time stamp (read from register)   */
     55
    5456        uint32_t            ticks_nr;       /*! number of elapsed ticks                    */
    55         uint32_t            ticks_period;   /*! number of cycles between two ticks         */
    5657        uint32_t            usage;          /*! cumulated busy_percent (idle / total)      */
    5758        uint32_t            spurious_irqs;  /*! for instrumentation...                     */
Note: See TracChangeset for help on using the changeset viewer.