Hello,
I build a BYOC C-Codegen for an accelarator. The accelerator currently only exists as a simulator but is already included. The simulator itself has functions to measur cycles needed to perform the generated code. Since I would like to evaluate the results for a profiling, I’m looking for a way to extract this data without writing them manually into a file myself.
Is there a way that I can extract this values during the runtime by calling TVM functionality from the generated code itself?
I didn’t find anything suitable so far and really would appreciate some feedback.