-
Notifications
You must be signed in to change notification settings - Fork 82
NullTask
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
NullTask — Click element; associated with a do-nothing Task
NullTask([ LIMIT, STOP, ACTIVE])
Ports: none
NullTask simply schedule a task which, when scheduled, does nothing. This can be useful for benchmarking.
- LIMIT — Unsigned. NullTask will schedule itself at most LIMIT times. 0 means forever. Default is 0.
- STOP — Boolean. If true, NullTask will stop the driver when LIMIT is reached. Default is false.
- ACTIVE —
Boolean. If false, NullTask will not schedule itself at initialization time.
Use the
scheduled
write handler to schedule the task later. Default is true.
- count (read-only) — Returns the number of times the element has been scheduled.
- reset (write-only) — Resets the count to 0.
Generated by click-elem2man from ../elements/test/nulltask.hh:8
on 2018/10/03.