<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1253">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Καλημέρα σας, <br>
</p>
<p><br>
</p>
<p>Φτάνοντας στο παράδειγμα χρήσης του <span>simulator pintool</span>, έχω γράψει με προσοχή την παρακάτω εντολή εκτελώντας την μέσα στο path του
<span>~/Λήψεις/parsec-3.0/parsec_workspace το οποίο περιλαμβάνει τα <span>executables και τα
<span>inputs</span>. Η εντολή που εκτελώ λοιπόν είνα: <br>
</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span><span>/home/giannis/Λήψεις/pin-3.2-81205-gcc-linux/pin -t /home/giannis/Λήψεις/advcomparch-2016-17-ex1-helpcode/pintool/obj-intel64/simulator.so -o my_output.out –L1c 64 –L1a 8 –L1b 64 –L2c 256 –L2a 8 –L2b 64 -TLBe 64 –TLBa 4 –TLBp 4096 -- /home/giannis/Λήψεις/parsec-3.0/parsec_workspace/executables/blackscholes
 1 /home/giannis/Λήψεις/parsec-3.0/ parsec_workspace/inputs/in_64K.t</span><br>
</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Το αποτέλεσμα που μου βγάζει είναι το εξής:<br>
</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span></p>
<div>This tool represents a 2-level tlb &amp; cache simulator.<br>
<br>
<br>
Pin tools switches<br>
<br>
-L1a&nbsp; [default 8]<br>
&nbsp;&nbsp; &nbsp;L1 cache associativity (1 for direct mapped)<br>
-L1b&nbsp; [default 64]<br>
&nbsp;&nbsp; &nbsp;L1 cache block size in bytes<br>
-L1c&nbsp; [default 32]<br>
&nbsp;&nbsp; &nbsp;L1 cache size in kilobytes<br>
-L2a&nbsp; [default 8]<br>
&nbsp;&nbsp; &nbsp;L2 cache associativity (1 for direct mapped)<br>
-L2b&nbsp; [default 64]<br>
&nbsp;&nbsp; &nbsp;L2 cache block size in bytes<br>
-L2c&nbsp; [default 256]<br>
&nbsp;&nbsp; &nbsp;L2 cache size in kilobytes<br>
-L2prf&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Number of lines to prefetch to L2 (0 disables prefetching)<br>
-TLBa&nbsp; [default 4]<br>
&nbsp;&nbsp; &nbsp;TLB associativity (1 for direct mapped)<br>
-TLBe&nbsp; [default 64]<br>
&nbsp;&nbsp; &nbsp;TLB size in #entries<br>
-TLBp&nbsp; [default 4096]<br>
&nbsp;&nbsp; &nbsp;Page size in bytes<br>
-h&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Print help message (Return failure of PIN_Init() in order to allow the<br>
&nbsp;&nbsp; &nbsp;tool&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to print help message)<br>
-help&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Print help message (Return failure of PIN_Init() in order to allow the<br>
&nbsp;&nbsp; &nbsp;tool&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to print help message)<br>
-logfile&nbsp; [default pintool.log]<br>
&nbsp;&nbsp; &nbsp;The log file path and file name<br>
-o&nbsp; [default cslab_cache.out]<br>
&nbsp;&nbsp; &nbsp;specify dcache file name<br>
-unique_logfile&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;The log file names will contain the pid<br>
<br>
Line information controls<br>
<br>
-discard_line_info <br>
&nbsp;&nbsp; &nbsp;Discard line information for specific module. Module name should be a<br>
&nbsp;&nbsp; &nbsp;short name without path, not a symbolic link<br>
-discard_line_info_all&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Discard line information for all modules.<br>
-dwarf_file <br>
&nbsp;&nbsp; &nbsp;Point pin to a different file for debug information. Syntax:<br>
&nbsp;&nbsp; &nbsp;app_executable:&lt;path_to_different_fileExaple (OS X): -dwarf_file<br>
&nbsp;&nbsp; &nbsp;get_source_app:get_s<br>
&nbsp;&nbsp; &nbsp;ource_app.dSYM/Contents/Resources/DWARF/get_source_app<br>
<br>
Symbols controls<br>
<br>
-ignore_debug_info&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Ignore debug info for the image. Symbols are taken from the symbol<br>
&nbsp;&nbsp; &nbsp;tables.<br>
-reduce_rtn_size_mode&nbsp; [default auto]<br>
&nbsp;&nbsp; &nbsp;Mode for RTN size reduction: delete trailing instructions after RET if<br>
&nbsp;&nbsp; &nbsp;there is no jump to the rtn part after the RET. Possible modes are:<br>
&nbsp;&nbsp; &nbsp;auto/never/always<br>
-short_name&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Use the shortest name for the RTN. Names with version substrings are<br>
&nbsp;&nbsp; &nbsp;preferred over the same name without the substring.<br>
-support_jit_api&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Enables the Jitted Functions Support<br>
-unrestricted_rtn_size&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Use the unrestricted RTN size. When set the RTN size defined by the<br>
&nbsp;&nbsp; &nbsp;distance between RTN start to the beginning of next RTN.<br>
<br>
Statistic switches<br>
<br>
-profile&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;print amount of memory dynamically allocated but not yet freed by the<br>
&nbsp;&nbsp; &nbsp;tool<br>
-statistic&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;print general statistics<br>
<br>
General switches (available in pin and tool)<br>
<br>
-slow_asserts&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Perform expensive sanity checks<br>
</div>
<br>
</span></span>
<p></p>
<p><span><span></p>
<div><br>
-<br>
-reduce_rtn_size_mode&nbsp; [default auto]<br>
&nbsp;&nbsp; &nbsp;Mode for RTN size reduction: delete trailing instructions after RET if<br>
&nbsp;&nbsp; &nbsp;there is no jump to the rtn part after the RET. Possible modes are:<br>
&nbsp;&nbsp; &nbsp;auto/never/always<br>
-short_name&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Use the shortest name for the RTN. Names with version substrings are<br>
&nbsp;&nbsp; &nbsp;preferred over the same name without the substring.<br>
-support_jit_api&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Enables the Jitted Functions Support<br>
-unrestricted_rtn_size&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Use the unrestricted RTN size. When set the RTN size defined by the<br>
&nbsp;&nbsp; &nbsp;distance between RTN start to the beginning of next RTN.<br>
<br>
Statistic switches<br>
<br>
-profile&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;print amount of memory dynamically allocated but not yet freed by the<br>
&nbsp;&nbsp; &nbsp;tool<br>
-statistic&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;print general statistics<br>
<br>
General switches (available in pin and tool)<br>
<br>
-slow_asserts&nbsp; [default 0]<br>
&nbsp;&nbsp; &nbsp;Perform expensive sanity checks<br>
</div>
<br>
</span></span>
<p></p>
<p><br>
<span><span></span></span></p>
<p><span><span></span></span><br>
</p>
<p><span><span>Είναι σωστό αυτό που μου εμφανίζει? Δεν θα έπρεπε να μου εμφανίζει&nbsp; κάποιο αποτέλεσμα σε output??</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Ευχαριστώ.<br>
</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span></span></span><br>
</p>
<p><br>
</p>
<div id="Signature">
<p>Εστάλη από το <a href="http://aka.ms/weboutlook" id="LPNoLP">Outlook</a><br>
</p>
</div>
</div>
</body>
</html>