Bash Scripting - Timing functions

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: David Bendit
Fecha:  
A: Main PLUG discussion list
Asunto: Bash Scripting - Timing functions
Hey there,

I'm relatively unskilled at shell scripting, and I can't quite figure
out how to time individual functions, rather than entire commands. Is
there any way to do this? /usr/bin/time or bash's time reserved word
both work, as long as I can time a single function.

Thanks,
David Bendit

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss