Module simics::api::base::time

source ·
Expand description

Time management APIs

Functions§

  • Get the current time of an object.
  • cycle_count returns the current simulated clock cycle count at obj.
  • Retrieve the default clock used by an object. This is set by the queue attribute and is used as time reference for the object.
  • Retrieve the picosecond clock used by an object.
  • _stall 🔒
    Stall an object’s execution for a number of seconds. Must implement stall and cycle interfaces
  • Return the number of cycles an object has been stalled
  • Stall an object’s execution for a number of cycles. obj must implement the cycle and stall interfaces
  • Return the cycle number an object is stalled until
  • Get the current time of an object.
  • cycle_count returns the current simulated clock cycle count at obj.
  • Retrieve the default clock used by an object. This is set by the queue attribute and is used as time reference for the object.
  • Retrieve the picosecond clock used by an object.
  • Stall an object’s execution for a number of seconds. Must implement stall and cycle interfaces
  • Return the number of cycles an object has been stalled
  • Stall an object’s execution for a number of cycles. obj must implement the cycle and stall interfaces
  • Return the cycle number an object is stalled until