hvcc
hvcc copied to clipboard
requires perf information
If I build this patch
#N canvas 63 63 450 300 12;
#X obj 197 124 pow~;
#X obj 207 205 dac~;
#X obj 251 122 sqrt~;
#X connect 0 0 1 0;
#X connect 2 0 1 0;
I get
__sqrt~f requires perf information.
__pow~f requires perf information.
As part of a larger patch I have also seen
__cos~f requires perf information.
but I haven't been able to reproduce it by simply adding a [cos~]
object.
Any idea what these are for?
This information comes from the spec object: https://github.com/Wasted-Audio/hvcc/commit/446b30a0c276219885e4d9fe24917771d2f03adf
It gives information about specific instruction performance, which is used to calculate a total performance of the patch or at least some kind of profiling. It prints a table when you compile with verbose/-v
option.
These are just warnings though, but I think it's because the perf
section is missing: https://github.com/Wasted-Audio/hvcc/blob/develop/hvcc/core/json/heavy.ir.json#L763