- Main Page
- Modules
- Classes

- Search for |

# CONTROLLER_UNIFORM
[CONTROLLER]

## Functions

INT32 | INSTLIB::CONTROL_UNIFORM::Activate (CONTROL_HANDLER ch, VOID *val, BOOL passContext)

## Detailed Description

Controller for periodically counting instructions to skip before beginning an interval. Use -uniform_period <n> to skip n instructions before starting an interval. Use -uniform_period_tid <t> to skip n instructions from thread t starting an interval Use -uniform_length <m> to end the interval after m instructions. Use -uniform_length_tid <t> to end the interval after m instruction from thread t

## Function Documentation

INT32 INSTLIB::CONTROL_UNIFORM::Activate | ( | CONTROL_HANDLER | ch,
|  | VOID * | val,
|  | BOOL | passContext
| ) | `[inline, inherited]`

| Activate the controller if the -uniform_period knob is provided

Returns:
  true if controller can start an interval