User Profile

Collapse

Profile Sidebar

Collapse
jainyi
jainyi
Last Activity: Oct 2 '07, 04:58 AM
Joined: Sep 28 '07
Location: Korea
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jainyi
    replied to measuring execution time for C++ program
    in C
    Thank you

    Now it is fine

    Jianyi
    See more | Go to post

    Leave a comment:


  • jainyi
    replied to measuring execution time for C++ program
    in C
    Though i have got time2 - time1 but notgetting about function calls. Do you mean this way

    [code=c]
    QueryPerformanc eFrequency(&lTi me1);
    QueryPerformanc eCounter(&lFreq );
    cout<<fib(i);
    QueryPerformanc eFrequency(&lTi me2);
    diffTicks=lTime 2.QuadPart-lTime1.QuadPart ;//ticks passed
    ...
    See more | Go to post

    Leave a comment:


  • jainyi
    replied to measuring execution time for C++ program
    in C
    Thanks for reply

    but it is producing no result; 0 ticks and 0 seconds for each n i.e. 4,8,16, 32

    [code=c]
    while (quit != 'x')
    {
    LARGE_INTEGER lFreq;
    LARGE_INTEGER lTime1;
    LARGE_INTEGER lTime2;
    long diffTicks;
    float diffSecs;
    int i;
    ...
    See more | Go to post

    Leave a comment:


  • jainyi
    started a topic measuring execution time for C++ program
    in C

    measuring execution time for C++ program

    Hi,
    I want to calculate execution time for a program computing fibonacci number in C++. I have programmed two functions (one using recursion and other using divide and conquer huristic) to compute fibonnaci number for (n=4,8,16,32,64 ). Now i want to compare these two methods. Though i have used following method to compute execution time but it is not precise as yielding 0 ticker time for n=4,8,16 in both the cases

    [code=c]...
    See more | Go to post

  • jainyi
    started a topic Pyramid Gird based data structure in C++
    in C

    Pyramid Gird based data structure in C++

    I want to implement pyramidal grid based structure for storing data having 4^i cells at each level where i is level. In each cell ,i will store number of users,their ids and density so that i can compress them for upper layers and expand them for lower layers. Can anybody suggest me any direction for that ( right now i am going with dimensional-arrays to implement but it does not sound better as i want to compress four cells into one cell for upper...
    See more | Go to post

  • jainyi
    started a topic Pyramid data structure
    in C

    Pyramid data structure

    I want to implement pyramidal structure for storing data having 4^i cells at each level where i is level. In each cell ,i will store number of users,their ids and density so that i can compress them for upper layers and expand them for lower layers. Can anybody suggest me any direction for that ( right now i am going with dimensional-arrays to implement but it does not sound better as i want to compress four cells into one cell for upper layer and...
    See more | Go to post
No activity results to display
Show More
Working...