Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: More...
#include <sys/resource.h>

Go to the source code of this file.
| Classes | |
| class | measurement_tools::MemoryUsage | 
| Namespaces | |
| namespace | measurement_tools | 
| namespace | measurement_tools::hidden | 
| Functions | |
| int | measurement_tools::getMemoryUsage (int pid=getpid()) | 
| in kB | |
| int | measurement_tools::hidden::getValue (FILE *file) | 
| int | measurement_tools::hidden::parseLine (char *line) | 
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License LGPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License LGPL for more details.
You should have received a copy of the GNU Lesser General Public License LGPL along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file memory.h.