Forum Discussion
Altera_Forum
Honored Contributor
19 years agoThanks Slacker for ur reply, u are right regarding the real-time operations but still it puzzles me, try me one last time, I will elaborate for a last time http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
My program is as follows:# include "stdio.h" void filter(int); int main() { MyClass a; a.openMyFile("/mnt/rozipfs/aser.txt"); //function that opens a file stream int data = a.readCurrentInput(); //reads an integer from current data filter(data); //my function that I want to measure its performance } void filter(int) { int y=data; /*continue code normally*/ } /************************************** ***************************************/ I want to measure the performance of "filter(data)" for zip files and host based files. I get more time in case of ZIP FILE system ! I don't know the reason. Thanks