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...
Type: Posts; User: kuhnmi
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...
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...
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();
A test program is always a good idea :-)
Well, I've written one:
#include <iostream>
#include <ctime>
class Base {
Hi,
I have some questions about c++ inheritance and performance:
1) How does single inheritance affect performance? Consider the following example:
class Base
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...
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...
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...