Search:

Type: Posts; User: muthus

Search: Search took 0.00 seconds.

  1. Thread: flush memory

    by muthus
    Replies
    5
    Views
    7,215

    That is a requirement for my project which...

    That is a requirement for my project which involves calculating the time taken for my logic.
  2. Thread: flush memory

    by muthus
    Replies
    5
    Views
    7,215

    Yes, but I need it for cache memory and not...

    Yes, but I need it for cache memory and not streams
  3. Thread: flush memory

    by muthus
    Replies
    5
    Views
    7,215

    flush memory

    I am writing a C program in which I need to flush my memory. I would like know if there is any UNIX system command to flush memory cache. Thanks in advance.
  4. Replies
    4
    Views
    2,838

    Hello, thanks for all your suggestions. I am...

    Hello, thanks for all your suggestions. I am using Linux. I will think about using POSIX.
  5. Replies
    4
    Views
    2,838

    Finding the difference in two times

    Hello,

    I want to find the difference between two times in C. I am using difftime to calculate the difference but it appears that the results are being returned in seconds. I need to get the exact...
  6. Replies
    3
    Views
    1,773

    Could do that but I have this specific...

    Could do that but I have this specific requirement.
  7. Replies
    3
    Views
    1,773

    Question on 'top' command

    Hello,

    I would like to extract only specific fields in a 'top' output. For example, I want to just find the percent time the system is idle, available free memory, etc. Is there a way to do this....
  8. Replies
    1
    Views
    2,565

    Using POSIX threads in C on Linux

    Hello,

    I am using POSIX threads in my C program. The program reads integer values from a file to process. I get a Segmentation fault (core dumped) error during execution when I have more than 6...
  9. Replies
    14
    Views
    1,829

    Agree. Will do some investigation. Thanks.

    Agree. Will do some investigation. Thanks.
  10. Replies
    1
    Views
    1,963

    Using POSIX thread in Linux

    Hello,

    I am using POSIX threads in my C program. The program reads integer values from a file to process. I get a Segmentation fault (core dumped) error during execution when I have more than 6...
  11. Replies
    14
    Views
    1,829

    Got you. Thanks a lot.

    Got you. Thanks a lot.
  12. Replies
    14
    Views
    1,829

    I am seeing a different one. I see the one in...

    I am seeing a different one. I see the one in /usr/bin. But, I worked around this problem by directing the output to a file different that a.out
  13. Replies
    14
    Views
    1,829

    I am compiling a simple 'hello world' the program...

    I am compiling a simple 'hello world' the program using the following command

    gcc filename.c

    I made sure I have write permissions on a.out and the directory. I have each source in a separate...
  14. Replies
    14
    Views
    1,829

    I am deleting it using the rm command. I make...

    I am deleting it using the rm command. I make sure there is is not there before re-compiling it. But the new a.out file that gets created still shows the output from a different program I ran earlier.
  15. Replies
    14
    Views
    1,829

    yes. for any program I write, I get the same old...

    yes. for any program I write, I get the same old output of a different program even after attempting to
    1. deleting a.out
    2.renaming the file
    3.rebooting the system.
  16. Replies
    14
    Views
    1,829

    Hello thanks but I have tried both options,...

    Hello thanks but I have tried both options, without any luck
  17. Replies
    14
    Views
    1,829

    a.out remains unchanged

    Hello,

    I am writing a C program on Ubuntu Linux. I compile using the gcc compiler. I was making changes and compiling the program and a.out was reflecting the new changes. After a few hours, I am...
Results 1 to 17 of 17