Can I use custom timers to measure activities within a bat/exe file?
If the application is developed in .NET or Java you may be able to use Silk Performer’s .NET or Java frameworks to gather measures / timers directly from the process, assuming that the application provides these measures.
Another option would be have your bat/exe file perform the measurement and write the value to a file, which Silk Performer could parse later and create a custom counter.
For details on the usage and syntax of the functions to do so (i.e. FOpen, FRead etc) please see Silk Performer Help - SILK PERFORMER | HELP | CONTENTS - searching for File Functions.
See also Help section for "ProcessInitialize" for details of calling another process from with a script.