CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2015
    Location
    Kolkata
    Posts
    13

    Use of milli second / micro second / nano second in gcc

    Hello,
    How can milli second / micro second / nano second be used in gcc platform? What is the process, syntax?
    Please help.

  2. #2
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Use of milli second / micro second / nano second in gcc

    Your question is very broad. Precise usages of time will be encompassed by real time operating systems. (RTOS)

    The subject (search terms) would be multi-threading, multi-tasking and RTOS.

    Also search for threads, search for real time operating systems.

    As you know gcc is a compiler, there are some cross compiler tool-chains that use gcc to build binaries for deployment to different targets (OS/Hardware combos).

    Most OS have their own API for multi-threading & real time. Timesyslinux can do real time. Most flavors of linux don't do real time.

    I suggest a few google searches to narrow your focus before posting questions.

    For example Arm-9.
    https://en.wikipedia.org/wiki/Compar...rating_systems
    http://pmc.polytechnique.fr/pagesperso/dc/arm-en.html
    http://elinux.org/ARMCompilers
    Last edited by ahoodin; November 17th, 2015 at 12:46 PM.
    ahoodin
    To keep the plot moving, that's why.

  3. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Use of milli second / micro second / nano second in gcc

    What does GCC question have to do with Visual C++? Wrong forum?
    Best regards,
    Igor

  4. #4
    Join Date
    Sep 2015
    Location
    Kolkata
    Posts
    13

    Re: Use of milli second / micro second / nano second in gcc

    Thanks.

  5. #5
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Use of milli second / micro second / nano second in gcc

    You can use GCC with the IDE...
    http://www.codeproject.com/Articles/...h-GCC-in-Visua
    should be the "cl.exe" forum?
    ahoodin
    To keep the plot moving, that's why.

  6. #6
    Join Date
    Sep 2015
    Location
    Kolkata
    Posts
    13

    Re: Use of milli second / micro second / nano second in gcc

    Yah, I see all the links. Thanks.
    Actually I need a snippet that illustrates the use of nano second, micro second, milli second in gcc (Ubuntu, Linux).
    facing syntactical error.

  7. #7
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Use of milli second / micro second / nano second in gcc

    We cant understand your syntax error without some code. Post your code.
    ahoodin
    To keep the plot moving, that's why.

  8. #8
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    2,675

    Re: Use of milli second / micro second / nano second in gcc

    Why has this thread been moved to the C++/CLI section here? Wouln't C++ (non-Visual) have been the better place?
    I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.

    This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.

  9. #9
    Join Date
    Sep 2015
    Location
    Kolkata
    Posts
    13

    Re: Use of milli second / micro second / nano second in gcc

    I need a snippet that illustrates the use of nano second, micro second, milli second in gcc (Ubuntu, Linux).
    Please help.

  10. #10
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Use of milli second / micro second / nano second in gcc

    Sorry, this is off topic for these Forums I guess. Ultimately you are responsible for your homework. It is obvious you are not Googling hard enough.

    Now in Klingon: ta' lIj naDev
    ahoodin
    To keep the plot moving, that's why.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured