github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/share/doc/GraphicsMagick/www/time.html (about) 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 2 "http://www.w3.org/TR/html4/loose.dtd"> 3 <html> 4 <head> 5 <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=us-ascii"> 6 <title>GraphicsMagick GM Utility</title> 7 <style type=text/css> 8 <!-- 9 @page { size: 8.5in 11in } 10 TD P { color: #000000; font-family: "Verdana", "Arial", "Helvetica", sans-serif; font-size: 12pt } 11 P { color: #000000; font-family: "Verdana", "Arial", "Helvetica", sans-serif; font-size: 12pt } 12 A:link { color: #00B04F } 13 A:visited { color: #007B37 } 14 --> 15 </style> 16 17 </head> 18 <body LANG="en-US" TEXT="#000000" LINK="#00B04F" VLINK="#007B37" BGCOLOR="#ffffff"> 19 <a name="top"></a> 20 <table border=0 cellpadding=10 cellspacing=0 style="margin-top:-17px" width="100%"><tr><td> 21 <br> <br> 22 <table BORDER=0 WIDTH="100%"> 23 <tr> 24 <td ALIGN=LEFT bgcolor="#FFFFFF"><img 25 SRC="images/right_triangle.png" ALT=">" BORDER=0 26 height=14 width=15><b><font face="Helvetica, Arial"><font 27 color="#00B04F"><font size="+1"> 28 <a NAME="time"></a>gm time 29 </font></font></font></b></td></tr></table> 30 <table width="94%" border="0" cellspacing="0" cellpadding="8"> 31 <tr><td width="3%"><br></td><td> 32 <table BORDER=0 WIDTH="100%"> 33 <tr> 34 <td ALIGN=LEFT bgcolor="#FFFFFF"><img 35 SRC="images/right_triangle.png" ALT=">" BORDER=0 36 height=14 width=15><b><font face="Helvetica, Arial"><font 37 color="#00B04F"><font size="+1"> 38 <a NAME="time-top"></a>NAME 39 </font></font></font></b></td></tr></table> 40 <table width="94%" border="0" cellspacing="0" cellpadding="8"> 41 <tr><td width="3%"><br></td><td> 42 time - time the execution of a gm command 43 </td></tr></table> 44 <table BORDER=0 WIDTH="100%"> 45 <tr> 46 <td ALIGN=LEFT bgcolor="#FFFFFF"><img 47 SRC="images/right_triangle.png" ALT=">" BORDER=0 48 height=14 width=15><b><font face="Helvetica, Arial"><font 49 color="#00B04F"><font size="+1"> 50 <a NAME="time-contents"></a>Contents 51 </font></font></font></b></td></tr></table> 52 <table width="94%" border="0" cellspacing="0" cellpadding="8"> 53 <tr><td width="3%"><br></td><td> 54 <dl> 55 <dt> 56 <a href="#time-syno">Synopsis</a> 57 </dt> 58 <dt> 59 <a href="#time-desc">Description</a> 60 </dt> 61 <dt> 62 <a href="#time-exam">Examples</a> 63 </dt> 64 <dt> 65 <a href="#time-opti">Options</a> 66 </dt> 67 </dl> 68 </td></tr></table> 69 <table BORDER=0 WIDTH="100%"> 70 <tr> 71 <td ALIGN=LEFT bgcolor="#FFFFFF"><img 72 SRC="images/right_triangle.png" ALT=">" BORDER=0 73 height=14 width=15><b><font face="Helvetica, Arial"><font 74 color="#00B04F"><font size="+1"> 75 <a NAME="time-syno"></a>Synopsis 76 </font></font></font></b></td></tr></table> 77 <table width="94%" border="0" cellspacing="0" cellpadding="8"> 78 <tr><td width="3%"><br></td><td> 79 <p> 80 <strong>gm time</strong> <em>command</em> 81 </td></tr></table> 82 <table BORDER=0 WIDTH="100%"> 83 <tr> 84 <td ALIGN=LEFT bgcolor="#FFFFFF"><img 85 SRC="images/right_triangle.png" ALT=">" BORDER=0 86 height=14 width=15><b><font face="Helvetica, Arial"><font 87 color="#00B04F"><font size="+1"> 88 <a NAME="time-desc"></a>Description 89 </font></font></font></b></td></tr></table> 90 <table width="94%" border="0" cellspacing="0" cellpadding="8"> 91 <tr><td width="3%"><br></td><td> 92 <p> 93 <strong>time</strong> executes an arbitrary <strong>gm</strong> utility command 94 (e.g. <strong>convert</strong>) and reports the user and elapsed time. This 95 provides way to measure command execution times similar to the Unix 96 'time' command but in a portable and consistent way. 97 </td></tr></table> 98 <table BORDER=0 WIDTH="100%"> 99 <tr> 100 <td ALIGN=LEFT bgcolor="#FFFFFF"><img 101 SRC="images/right_triangle.png" ALT=">" BORDER=0 102 height=14 width=15><b><font face="Helvetica, Arial"><font 103 color="#00B04F"><font size="+1"> 104 <a NAME="time-exam"></a>Examples 105 </font></font></font></b></td></tr></table> 106 <table width="94%" border="0" cellspacing="0" cellpadding="8"> 107 <tr><td width="3%"><br></td><td> 108 <p>To obtain time information for the execution of a 109 command: 110 <pre> 111 % gm time convert input.ppm -gaussian 0x2 output.ppm 112 convert input.ppm -gaussian 0x2 output.ppm 22.60s user 0.00s system 2354% cpu 0.960 total 113 </pre> 114 <p>Here is the interpretation of the above output: 115 <ul> 116 <li><strong>user</strong> - the total user time consumed. 117 <li><strong>system</strong> - the total system time consumed. 118 <li><strong>total</strong> - the total elapsed time consumed. 119 </ul> 120 </td></tr></table> 121 <p> 122 <i><a href="#top">Back to Contents</a></i> 123 </p> 124 <table BORDER=0 WIDTH="100%"> 125 <tr> 126 <td ALIGN=LEFT bgcolor="#FFFFFF"><img 127 SRC="images/right_triangle.png" ALT=">" BORDER=0 128 height=14 width=15><b><font face="Helvetica, Arial"><font 129 color="#00B04F"><font size="+1"> 130 <a NAME="time-opti"></a>Options 131 </font></font></font></b></td></tr></table> 132 <table width="94%" border="0" cellspacing="0" cellpadding="8"> 133 <tr><td width="3%"><br></td><td> 134 <p>The time command reqires no options other than the gm command to 135 execute. 136 </td></tr></table> 137 <p> 138 <i><a href="#top">Back to Contents</a></i> 139 </p> 140 </td></tr></table>