Index: generic/nsfProfile.c =================================================================== diff -u -r1d1ca561af5942718e613929b36e5d2419e4fe5a -r5447fe00e31b5937ec5df0d14bce7f33e0568b3e --- generic/nsfProfile.c (.../nsfProfile.c) (revision 1d1ca561af5942718e613929b36e5d2419e4fe5a) +++ generic/nsfProfile.c (.../nsfProfile.c) (revision 5447fe00e31b5937ec5df0d14bce7f33e0568b3e) @@ -1,7 +1,7 @@ /* * nsfProfile.c -- * - * Provides profiling information about Next Scripting Framework internals. + * Provides profiling on Next Scripting Framework internals. * For turning on profiling, NSF_PROFILE must be configured. * * Copyright (C) 2010-2016 Gustaf Neumann @@ -56,7 +56,7 @@ * None * * Side effects: - * Initializes and fills the passed DString, + * Initializes and fills the passed Tcl_DString, * *---------------------------------------------------------------------- */ @@ -407,7 +407,7 @@ *---------------------------------------------------------------------- * NsfProfileTrace -- * - * Function callable via tcl to control trace behavior. + * Function to control trace behavior callable via Tcl. * * Results: * OK @@ -435,7 +435,7 @@ rst->doTrace = withEnable; /* - * Turn automically profiling on&off, when trace is turned on/off + * Turn automatically profiling on&off, when trace is turned on/off */ if (withEnable == 1) { if (rst->doProfile == 1) { @@ -446,7 +446,7 @@ */ if (builtinObjs != NULL) { /* - * A list of cammands was provided + * A list of commands was provided */ if (Tcl_ListObjGetElements(interp, builtinObjs, &oc, &ov) != TCL_OK) { NsfLog(interp, NSF_LOG_WARN, "nsfprofile: argument '%s' is not a list of commands", ObjStr(builtinObjs)); @@ -519,7 +519,7 @@ *---------------------------------------------------------------------- * NsfProfileTraceCallAppend, NsfProfileTraceExitAppend -- * - * Low level function to add entries to the trace dstring when functions ar + * Low level function to add entries to the trace Tcl_DString when functions ar * called or exited. * * Results: @@ -575,9 +575,9 @@ *---------------------------------------------------------------------- * NsfProfileTraceCall, NsfProfileTraceExit -- * - * Add entries to the trace dstring when methods/procs are called or + * Add entries to the trace Tcl_DString when methods/procs are called or * exited. This function builds the labels for invocation strings in the - * same way as for profiling and calls the lower level function, which does + * same way as for profiling and calls the lower-level function, which does * the recording. * * Results: @@ -707,7 +707,7 @@ } /* - * Append method to object key as needed by statisitics (but not by trace) + * Append method to object key as needed by statistics (but not by trace) */ Tcl_DStringAppendElement(&objectKey, cscPtr->methodName); @@ -856,7 +856,7 @@ * Tcl List * * Side effects: - * Nne. + * None. * *---------------------------------------------------------------------- */