<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=us-ascii"> <title>GraphicsMagick GM Utility</title> <style type=text/css> <!-- @page { size: 8.5in 11in } TD P { color: #000000; font-family: "Verdana", "Arial", "Helvetica", sans-serif; font-size: 12pt } P { color: #000000; font-family: "Verdana", "Arial", "Helvetica", sans-serif; font-size: 12pt } A:link { color: #00B04F } A:visited { color: #007B37 } --> </style> </head> <body LANG="en-US" TEXT="#000000" LINK="#00B04F" VLINK="#007B37" BGCOLOR="#ffffff"> <a name="top"></a> <table border=0 cellpadding=10 cellspacing=0 style="margin-top:-17px" width="100%"><tr><td> <br> <br> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="time"></a>gm time </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="time-top"></a>NAME </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> time - time the execution of a gm command </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="time-contents"></a>Contents </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <dl> <dt> <a href="#time-syno">Synopsis</a> </dt> <dt> <a href="#time-desc">Description</a> </dt> <dt> <a href="#time-exam">Examples</a> </dt> <dt> <a href="#time-opti">Options</a> </dt> </dl> </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="time-syno"></a>Synopsis </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p> <strong>gm time</strong> <em>command</em> </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="time-desc"></a>Description </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p> <strong>time</strong> executes an arbitrary <strong>gm</strong> utility command (e.g. <strong>convert</strong>) and reports the user and elapsed time. This provides way to measure command execution times similar to the Unix 'time' command but in a portable and consistent way. </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="time-exam"></a>Examples </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p>To obtain time information for the execution of a command: <pre> % gm time convert input.ppm -gaussian 0x2 output.ppm convert input.ppm -gaussian 0x2 output.ppm 22.60s user 0.00s system 2354% cpu 0.960 total </pre> <p>Here is the interpretation of the above output: <ul> <li><strong>user</strong> - the total user time consumed. <li><strong>system</strong> - the total system time consumed. <li><strong>total</strong> - the total elapsed time consumed. </ul> </td></tr></table> <p> <i><a href="#top">Back to Contents</a></i> </p> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="time-opti"></a>Options </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p>The time command reqires no options other than the gm command to execute. </td></tr></table> <p> <i><a href="#top">Back to Contents</a></i> </p> </td></tr></table>