DMSCNTCONV(1) Retro Project Manual DMSCNTCONV(1) NNAAMMEE dmscntconv - convert dmscnt data SSYYNNOOPPSSIISS ddmmssccnnttccoonnvv [----ssrrcc==_s_e_q_v_h_d] _F_I_L_E ddmmssccnnttccoonnvv ----hheellpp DDEESSCCRRIIPPTTIIOONN Converts the raw data generated by the w11a dmscnt unit, the embedded micro state counter, into a human-readable format. The raw data is usu- ally generated by a ttii__ww1111 Tcl command _r_w_1_1_:_:_s_c___r_e_a_d and contains counter index and counter values as hex data. ddmmssccnnttccoonnvv will convert this into a human-readable table of state numbers, state names and state counts for kernel and non-kernel modes. The state names are re- trieved from the _p_d_p_1_1___s_e_q_u_e_n_c_e_r_._v_h_d source file and the path to and name of the source file can be specified with the ----ssrrcc option. OOPPTTIIOONNSS ----ssrrccff=_s_e_q_v_h_d name of the sequencer source file used to determine the state number to state name mapping. Default is $$RREETTRROOBBAASSEE//rrttll//ww1111aa//ppddpp1111__sseeqquueenncceerr..vvhhdd. This default should be OK for almost all cases. --hheellpp print full help text and exit. EEXXAAMMPPLLEESS ddmmssccnnttccoonnvv xxxxxx..ddaatt >> xxxxxx..ssccnntt reads the file _x_x_x_._d_a_t and stores the output in _x_x_x_._s_c_n_t. Because no ----ssrrcc option is given the default sequencer file will be used. The input raw data file is typically generated by a ttii__ww1111 Tcl com- mand like tofile xxx.dat [rw11::sc_read] The output might look like #sn state all km usm all% km% usm% # sum_all 1289 1289 0 100.00 100.00 0.00 00 s_idle 1145 1145 0 88.83 88.83 0.00 01 s_cp_regread 9 9 0 0.70 0.70 0.00 02 s_cp_rps 1 1 0 0.08 0.08 0.00 03 s_cp_memr_w 0 0 0 0.00 0.00 0.00 04 s_cp_memw_w 0 0 0 0.00 0.00 0.00 05 s_ifetch 17 17 0 1.32 1.32 0.00 06 s_ifetch_w 20 20 0 1.55 1.55 0.00 07 s_idecode 20 20 0 1.55 1.55 0.00 ... SSEEEE AALLSSOO ttii__ww1111(1), ddmmssccnnttaannaall(1) AAUUTTHHOORR Walter F.J. Mueller Retro Project 2015-12-29 DMSCNTCONV(1)