Profiles all calls of the target function. This includes making a single
wrapper for all calls and adding the memoization profiling code inside this
wrapper.
Returns void
profEach
profEach(): void
Profiles each call to the target function separately. This includes
making a wrapper for each call and adding the memoization profiling code
inside the wrapper.
Library to instrument applications with the memoiprof profiling library.
Param: targetSig
The signature of the target funtion
Param: id
Unique ID representing this function
Param: reportDir
Path to the directory where the report will be saved (does not need trailing /)