profsave
profsave(profile_info)
profsave(profile_info, dirname)
| Parameter | Description |
|---|---|
| profile_info | a struct: result of profile('info') |
| dirname | a string: output directory destination. |
profsave exports the profiling data into a series of HTML files.
The input profile_info is the structure returned by profile('info').
If unspecified, profsave will use the current profile.
profile on
sind(5)
profile off
profsave(profile('info'), [tempdir(), 'profile_results'])
unix([tempdir(), 'profile_results/index.html'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |