Results 1 to 5 of 5

Thread: Qt on Windows and Linux

  1. #1
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt on Windows and Linux

    hi all,
    Can anyone guide me that how can i know that wht are all the system calls made by Qt APIs and how can i measure the performance of Qt application on the basis of memory and CPU speed on windows and Linux so that i can compare them.
    Any help will be highly appreciated.
    thanks
    Shuchi
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  2. #2
    Join Date
    Feb 2007
    Posts
    73
    Thanks
    11
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt on Windows and Linux

    You can use gprof (http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html)

    As a start you can simply run top to see how much CPU/memory your program is consuming.

    HTH,
    Susan

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt on Windows and Linux

    I don't know if measuring system calls is a good way to compare the systems. Linux and Windows differ very much and their system call architecture and design differ very much as well so simply counting syscalls may not give any decent results.

  4. #4
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt on Windows and Linux

    Quote Originally Posted by wysota View Post
    I don't know if measuring system calls is a good way to compare the systems. Linux and Windows differ very much and their system call architecture and design differ very much as well so simply counting syscalls may not give any decent results.
    I don't want to compare the systems on the basis of system calls, but for my own information i wanted to know that how internally things are done.So can you tell me if there is any way to know it?
    thanks in advance
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt on Windows and Linux

    But why on a syscall level? Syscalls used depend on the C/C++ libraries used. If you change the library, different syscalls might be used (or not). I don't think I can help you with that. In case of Linux you can create and add a small kernel module to count all syscall occurences, if you wish

Similar Threads

  1. C code linux to windows
    By deekayt in forum General Discussion
    Replies: 1
    Last Post: 19th October 2006, 22:17
  2. Project won't compile under Windows (works under Linux)
    By philski in forum Qt Programming
    Replies: 7
    Last Post: 14th September 2006, 15:29
  3. Replies: 2
    Last Post: 30th August 2006, 10:09
  4. Porting Qt3 linux app to windows qt4
    By Philip_Anselmo in forum Qt Programming
    Replies: 7
    Last Post: 15th May 2006, 18:44
  5. Replies: 4
    Last Post: 12th January 2006, 04:16

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.