<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 & cache simulator.<br>
<br>
<br>
Pin tools switches<br>
<br>
-L1a [default 8]<br>
L1 cache associativity (1 for direct mapped)<br>
-L1b [default 64]<br>
L1 cache block size in bytes<br>
-L1c [default 32]<br>
L1 cache size in kilobytes<br>
-L2a [default 8]<br>
L2 cache associativity (1 for direct mapped)<br>
-L2b [default 64]<br>
L2 cache block size in bytes<br>
-L2c [default 256]<br>
L2 cache size in kilobytes<br>
-L2prf [default 0]<br>
Number of lines to prefetch to L2 (0 disables prefetching)<br>
-TLBa [default 4]<br>
TLB associativity (1 for direct mapped)<br>
-TLBe [default 64]<br>
TLB size in #entries<br>
-TLBp [default 4096]<br>
Page size in bytes<br>
-h [default 0]<br>
Print help message (Return failure of PIN_Init() in order to allow the<br>
tool to print help message)<br>
-help [default 0]<br>
Print help message (Return failure of PIN_Init() in order to allow the<br>
tool to print help message)<br>
-logfile [default pintool.log]<br>
The log file path and file name<br>
-o [default cslab_cache.out]<br>
specify dcache file name<br>
-unique_logfile [default 0]<br>
The log file names will contain the pid<br>
<br>
Line information controls<br>
<br>
-discard_line_info <br>
Discard line information for specific module. Module name should be a<br>
short name without path, not a symbolic link<br>
-discard_line_info_all [default 0]<br>
Discard line information for all modules.<br>
-dwarf_file <br>
Point pin to a different file for debug information. Syntax:<br>
app_executable:<path_to_different_fileExaple (OS X): -dwarf_file<br>
get_source_app:get_s<br>
ource_app.dSYM/Contents/Resources/DWARF/get_source_app<br>
<br>
Symbols controls<br>
<br>
-ignore_debug_info [default 0]<br>
Ignore debug info for the image. Symbols are taken from the symbol<br>
tables.<br>
-reduce_rtn_size_mode [default auto]<br>
Mode for RTN size reduction: delete trailing instructions after RET if<br>
there is no jump to the rtn part after the RET. Possible modes are:<br>
auto/never/always<br>
-short_name [default 0]<br>
Use the shortest name for the RTN. Names with version substrings are<br>
preferred over the same name without the substring.<br>
-support_jit_api [default 0]<br>
Enables the Jitted Functions Support<br>
-unrestricted_rtn_size [default 0]<br>
Use the unrestricted RTN size. When set the RTN size defined by the<br>
distance between RTN start to the beginning of next RTN.<br>
<br>
Statistic switches<br>
<br>
-profile [default 0]<br>
print amount of memory dynamically allocated but not yet freed by the<br>
tool<br>
-statistic [default 0]<br>
print general statistics<br>
<br>
General switches (available in pin and tool)<br>
<br>
-slow_asserts [default 0]<br>
Perform expensive sanity checks<br>
</div>
<br>
</span></span>
<p></p>
<p><span><span></p>
<div><br>
-<br>
-reduce_rtn_size_mode [default auto]<br>
Mode for RTN size reduction: delete trailing instructions after RET if<br>
there is no jump to the rtn part after the RET. Possible modes are:<br>
auto/never/always<br>
-short_name [default 0]<br>
Use the shortest name for the RTN. Names with version substrings are<br>
preferred over the same name without the substring.<br>
-support_jit_api [default 0]<br>
Enables the Jitted Functions Support<br>
-unrestricted_rtn_size [default 0]<br>
Use the unrestricted RTN size. When set the RTN size defined by the<br>
distance between RTN start to the beginning of next RTN.<br>
<br>
Statistic switches<br>
<br>
-profile [default 0]<br>
print amount of memory dynamically allocated but not yet freed by the<br>
tool<br>
-statistic [default 0]<br>
print general statistics<br>
<br>
General switches (available in pin and tool)<br>
<br>
-slow_asserts [default 0]<br>
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>Είναι σωστό αυτό που μου εμφανίζει? Δεν θα έπρεπε να μου εμφανίζει κάποιο αποτέλεσμα σε 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>