Index: generic/nsfAPI.decls =================================================================== diff -u -r8465a13d65cb106deebded93f7fd4956dcb5f84a -r81788340d06828bb7131be38cc31858cf842612e --- generic/nsfAPI.decls (.../nsfAPI.decls) (revision 8465a13d65cb106deebded93f7fd4956dcb5f84a) +++ generic/nsfAPI.decls (.../nsfAPI.decls) (revision 81788340d06828bb7131be38cc31858cf842612e) @@ -6,7 +6,7 @@ # Scripting Framework (NSF) library. This script is sourced by # the C-code generator gentclAPI.tcl in the same directory. # -# Copyright (C) 2009-2016 Gustaf Neumann +# Copyright (C) 2009-2017 Gustaf Neumann # # Vienna University of Economics and Business # Institute of Information Systems and New Media @@ -66,6 +66,18 @@ {-argName "-builtins" -required 0 -nrargs 1 -type tclobj} } +# +# valgrind/callgrind support +# +cmd __callgrind_dump_stats NsfCallgrindDumpStatsCmd { + {-argName "-name" -required 0 -nrargs 1} +} +cmd __callgrind_start_instrumentation NsfCallgrindStartInstrumentationCmd {} +cmd __callgrind_stop_instrumentation NsfCallgrindStopInstrumentationCmd {} +cmd __callgrind_toggle_collect NsfCallgrindToggleCollectCmd {} +cmd __callgrind_zero_stats NsfCallgrindZeroStatsCmd {} + + cmd __unset_unknown_args NsfUnsetUnknownArgsCmd {} cmd "asm::proc" NsfAsmProcCmd { @@ -77,7 +89,7 @@ } cmd configure NsfConfigureCmd { - {-argName "option" -required 1 -typeName "configureoption" -type "debug|dtrace|filter|profile|trace|softrecreate|objectsystems|keepcmds|checkresults|checkarguments"} + {-argName "option" -required 1 -typeName "configureoption" -type "debug|dtrace|filter|softrecreate|objectsystems|keepcmds|checkresults|checkarguments"} {-argName "value" -required 0 -type tclobj} } {-nxdoc 1} cmd colon NsfColonCmd {