[Advcomparch] Απορία για την πρώτη άσκηση

Dimitrios Siakavaras jimsiak at cslab.ece.ntua.gr
Wed Mar 23 21:43:22 EET 2016


Καλησπέρα Χρήστο,

Σε περίπτωση που την εντολή
> pin-2.14-71313-gcc.4.4.7-linux/pin.sh -t
> pintool/obj-intel64/cslab_cache.so -o myoutput.out -L1c 64 -L1a 8 -L1b 64
> -L2c 256 -L2a 8 -L2b 64 -- parsec_workspace/executables/bodytrack
> inputs/sequenceB_4 4 4 4000 5 0 1

την έχεις κάνει copy/paste από το pdf της εκφώνησης της άσκησης είναι
πιθανό κάποιοι χαρακτήρες "-" να μην έχουν μεταφερθεί σωστά στο terminal.
Οπότε δοκίμασε να τους σβήσεις όλους και να τους γράψεις από το
πληκτρολόγιο κατευθείαν.

Καλή συνέχεια,
Δημήτρης

> Kαλησπέρα,
>
>
>   Έχω κάνει κανονικά την εγκατάσταση (ελπίζω) και προσπαθώ να τρέξω μια
> προσομοίωση πειραματικά:
>
> pin-2.14-71313-gcc.4.4.7-linux/pin.sh -t
> pintool/obj-intel64/cslab_cache.so -o myoutput.out -L1c 64 -L1a 8 -L1b 64
> -L2c 256 -L2a 8 -L2b 64 -- parsec_workspace/executables/bodytrack
> inputs/sequenceB_4 4 4 4000 5 0 1
>
>
>   Ως αποτέλεσμα, αντί να τρέξει την προσομοίωση και να μου δημιουργήσει το
> output.txt, μου βγάζει ως έξοδο στο terminal αυτό:
>
> This tool represents a 2-level cache simulator.
>
>
> Pin tools switches
>
> -L1a  [default 8]
>     L1 cache associativity (1 for direct mapped)
> -L1b  [default 64]
>     L1 cache block size in bytes
> -L1c  [default 32]
>     L1 cache size in kilobytes
> -L2a  [default 8]
>     L2 cache associativity (1 for direct mapped)
> -L2b  [default 64]
>     L2 cache block size in bytes
> -L2c  [default 256]
>     L2 cache size in kilobytes
> -h  [default 0]
>     Print help message (Return failure of PIN_Init() in order to allow
> the
>     tool                             to print help message)
> -help  [default 0]
>     Print help message (Return failure of PIN_Init() in order to allow
> the
>     tool                             to print help message)
> -logfile  [default pintool.log]
>     The log file path and file name
> -o  [default cslab_cache.out]
>     specify dcache file name
> -unique_logfile  [default 0]
>     The log file names will contain the pid
>
> Line information controls
>
> -discard_line_info
>     Discard line information for specific module. Module name should be a
>     short name without path, not a symbolic link
> -discard_line_info_all  [default 0]
>     Discard line information for all modules.
> -dwarf_file
>     Point pin to a different file for debug information. Syntax:
>     app_executable:<path_to_different_fileExaple (OS X): -dwarf_file
>     get_source_app:get_s
>     ource_app.dSYM/Contents/Resources/DWARF/get_source_app
>
> Symbols controls
>
> -short_name  [default 0]
>     Use the shortest name for the RTN. Names with version substrings are
>     preferred over the same name without the substring.
> -support_jit_api  [default 0]
>     Enables the Jitted Functions Support
> -unrestricted_rtn_size  [default 0]
>     Use the unrestricted RTN size. When set the RTN size defined by the
>     distance between RTN start to the beginning of next RTN.
>
> Statistic switches
>
> -profile  [default 0]
>     print amount of memory dynamically allocated but not yet freed by the
>     tool
> -statistic  [default 0]
>     print general statistics
>
> General switches (available in pin and tool)
>
> -slow_asserts  [default 0]
>     Perform expensive sanity checks
>
>  Καμία ιδέα;
>  		 	   		  _______________________________________________
> Advcomparch mailing list
> Advcomparch at lists.cslab.ece.ntua.gr
> http://lists.cslab.ece.ntua.gr/mailman/listinfo/advcomparch
>



More information about the Advcomparch mailing list