fork download
  1. /*
  2. I have a task to generate certain number of Data cache misses and Instruction cache misses. I got the basic idea of generating data cache-miss.
  3.  
  4. Now my task is to generate Instruction cache misses. I do not have any idea, what causes I-cache miss. Can someone help me by giving an idea for generating I-cache misses?
  5.  
  6. I am using Linux environment. Coding in C. And I am using Valgrind for profiling cache-data.
  7. */
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
stdout
Standard output is empty