Debian GNU/Linux 7 (wheezy):
Smsd installed from: device supplier
Name and model of a modem / phone: unsure
Interface: unsure

I have purchased a device with two SIMs from
after looking under the hood it appears they are using this software.
I need to figure out a way to determine the time it takes to send a text.
i have script that creates the SMS file in the outgoing dir and then i assume smsd reads this file , sends the message and then calls the event handler script which i have currently writing to a DB

my question is , is there a way to to know how long it takes to process a file, of am i going to have to modify the smsd.c file (boy it has been decades since i have done C )

Thanks for any help