Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

HandlerTask Element Documentation

NAME

HandlerTask — Click element; associated with a do-nothing Task

SYNOPSIS

HandlerTask(HANDLER, [ LIMIT, STOP, ACTIVE])

Ports: none

DESCRIPTION

HandlerTask simply schedule a task which, when scheduled, does nothing. This can be useful for benchmarking.

  • ACTIVE — Boolean. If false, HandlerTask will not schedule itself at initialization time. Use the scheduled write handler to schedule the task later. Default is true.
  • RESCHEDULE — Boolean. If true, HandlerTask will reschedule itself each time it runs. Default is false.

ELEMENT HANDLERS

  • count (read-only) — Returns the number of times the element has been scheduled.

SEE ALSO

ScheduleInfo

Generated by click-elem2man from ../elements/test/handlertask.hh:9 on 2017/10/17.

Clone this wiki locally