Search:

Type: Posts; User: kuhnmi

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,549

    Thanks for the link, tjohnsson. It actually...

    Thanks for the link, tjohnsson. It actually points to information about how to query page sizes etc., that's not quite what I was looking for. I'm rather interested in the current memory usage of my...
  2. Replies
    4
    Views
    1,549

    reporting memory usage

    Hi,

    I'm looking for a way to report the memory usage of my process. I'd like to do something like:



    std::cout << "memory usage at point xyz: " << GetMyMemoryUsage() << std::endl;


    Is...
  3. Replies
    1
    Views
    2,759

    time measurement using clock() and time()

    Hi,

    I want to measure the execution time of some part of my program. Therefore I've written something like



    ...
    clock_t startTime = clock();
    // do operations
    clock_t endTime = clock();
  4. Replies
    5
    Views
    3,928

    A test program is always a good idea :-) Well,...

    A test program is always a good idea :-)

    Well, I've written one:



    #include <iostream>
    #include <ctime>

    class Base {
  5. Replies
    5
    Views
    3,928

    inheritance and performance

    Hi,

    I have some questions about c++ inheritance and performance:

    1) How does single inheritance affect performance? Consider the following example:




    class Base
  6. Replies
    4
    Views
    2,433

    Unfortunately I was not quite precise with what I...

    Unfortunately I was not quite precise with what I didn't understand from the first reply. My problem is, that I don't understand the basic concept you're proposing. What would such a policy class...
  7. Replies
    4
    Views
    2,433

    Thanks for your reply! Unfortunately I don't have...

    Thanks for your reply! Unfortunately I don't have any experience with policy classes and therefore didn't really understand how to use a policy class to solve my problem. At which level would I have...
  8. Replies
    4
    Views
    2,433

    templates and inheritance problem

    Hi,

    I would like to create an abstract communication class which can be specialized for different communication subsystems. The communication class should be able to send special image data. The...
Results 1 to 8 of 8