picceler
A compiled DSL for image processing, built on MLIR
Loading...
Searching...
No Matches
picceler::PiccelerAddProfilingPass Struct Reference

A pass that wraps every Picceler compute/IO op with piccelerTraceBegin/piccelerTraceEnd runtime calls. Excludes StringConstOp (instrumentation itself creates these) and ShowImageOp/ ReadNumberOp/ReadStringOp (block on a window/stdin, not compute – one call would swallow every real op's time into invisibility on the timeline), PrintOp (times stdout buffering, not compute), and KernelConstOp (sub-microsecond next to any real op, just adds a row). More...

Inheritance diagram for picceler::PiccelerAddProfilingPass:

Public Member Functions

void runOnOperation () override

Detailed Description

A pass that wraps every Picceler compute/IO op with piccelerTraceBegin/piccelerTraceEnd runtime calls. Excludes StringConstOp (instrumentation itself creates these) and ShowImageOp/ ReadNumberOp/ReadStringOp (block on a window/stdin, not compute – one call would swallow every real op's time into invisibility on the timeline), PrintOp (times stdout buffering, not compute), and KernelConstOp (sub-microsecond next to any real op, just adds a row).

Member Function Documentation

◆ runOnOperation()

void picceler::PiccelerAddProfilingPass::runOnOperation ( )
inlineoverride

The documentation for this struct was generated from the following file: