./apps/jpeg-cjpeg/cjpeg: only one input file
usage: ./apps/jpeg-cjpeg/cjpeg [switches] [inputfile]
Switches (names may be abbreviated):
  -quality N     Compression quality (0..100; 5-95 is useful range)
  -grayscale     Create monochrome JPEG file
  -optimize      Optimize Huffman table (smaller file, but slow compression)
  -progressive   Create progressive JPEG file
  -targa         Input file is Targa format (usually not needed)
Switches for advanced users:
  -dct int       Use integer DCT method (default)
  -dct fast      Use fast integer DCT (less accurate)
  -dct float     Use floating-point DCT method
  -restart N     Set restart interval in rows, or in blocks with B
  -smooth N      Smooth dithered input (N=1..100 is strength)
  -maxmemory N   Maximum memory to use (in kbytes)
  -outfile name  Specify name for output file
  -verbose  or  -debug   Emit debug output
Switches for wizards:
  -baseline      Force baseline output
  -qtables file  Use quantization tables given in file
  -qslots N[,...]    Set component quantization tables
  -sample HxV[,...]  Set component sampling factors
  -scans file    Create multi-scan JPEG per script file
sim: command line: ./bin/sim-profile -brprof -iclass -redir:sim ./configs/profile/jpeg-cjpeg-stats.txt ./apps/jpeg-cjpeg/cjpeg -dct int -progressive -opt -outfile ./configs/profile/jpeg-cjpeg_output_small_encode.jpeg ./apps/jpeg-cjpeg/input_small.ppm -opt -outfile ./configs/profile/jpeg-cjpeg_output_small_encode.jpeg 

sim: simulation started @ Fri Sep 27 15:30:55 2019

sim: ** starting functional simulation **

sim: ** simulation statistics **
sim_num_insn                  41396 # total number of instructions executed
sim_num_refs                  14212 # total number of loads and stores executed
sim_elapsed_time                  1 # total simulation time in seconds
sim_inst_rate            41396.0000 # simulation speed (in insts/sec)

sim_inst_class_prof    # instruction class profile
sim_inst_class_prof.array_size = 7
sim_inst_class_prof.bucket_size = 1
sim_inst_class_prof.count = 7
sim_inst_class_prof.total = 41395
sim_inst_class_prof.imin = 0
sim_inst_class_prof.imax = 7
sim_inst_class_prof.average = 5913.5714
sim_inst_class_prof.std_dev = 6608.6141
sim_inst_class_prof.overflows = 0
# pdf == prob dist fn, cdf == cumulative dist fn
#          index      count    pdf 
sim_inst_class_prof.start_dist
load                   6991  16.89 
store                  7221  17.44 
uncond branch          1552   3.75 
cond branch            6642  16.05 
int computation       18955  45.79 
fp computation            0   0.00 
trap                     34   0.08 
sim_inst_class_prof.end_dist


sim_branch_prof        # branch instruction profile
sim_branch_prof.array_size = 6
sim_branch_prof.bucket_size = 1
sim_branch_prof.count = 6
sim_branch_prof.total = 8194
sim_branch_prof.imin = 0
sim_branch_prof.imax = 6
sim_branch_prof.average = 1365.6667
sim_branch_prof.std_dev = 2596.1815
sim_branch_prof.overflows = 0
# pdf == prob dist fn, cdf == cumulative dist fn
#          index      count    pdf 
sim_branch_prof.start_dist
uncond direct           351   4.28 
cond direct            6642  81.06 
call direct             521   6.36 
uncond indirect         613   7.48 
cond indirect             0   0.00 
call indirect            67   0.82 
sim_branch_prof.end_dist

ld_text_base             0x00400000 # program text (code) segment base
ld_text_size                 225520 # program text (code) size in bytes
ld_data_base             0x10000000 # program initialized data segment base
ld_data_size                  21904 # program init'ed `.data' and uninit'ed `.bss' size in bytes
ld_stack_base            0x7fffc000 # program stack segment base (highest address in stack)
ld_stack_size                 16384 # program initial stack size
ld_prog_entry            0x00400140 # program entry point (initial PC)
ld_environ_base          0x7fff8000 # program environment base address address
ld_target_big_endian              0 # target executable endian-ness, non-zero if big endian
mem.page_count                   71 # total number of pages allocated
mem.page_mem                   284k # total size of memory pages allocated
mem.ptab_misses                  73 # total first level page table misses
mem.ptab_accesses           1598882 # total page table accesses
mem.ptab_miss_rate           0.0000 # first level page table miss rate

