6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering#pragma once
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering/***
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering This file is part of systemd.
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
3c527fd195ed9acddedb6dd6f50be6bffc94e9aeJason St. John Copyright (C) 2009-2013 Intel Corporation
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering Authors:
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering Auke Kok <auke-jan.h.kok@intel.com>
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering systemd is free software; you can redistribute it and/or modify it
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering under the terms of the GNU Lesser General Public License as published by
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering the Free Software Foundation; either version 2.1 of the License, or
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering (at your option) any later version.
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering systemd is distributed in the hope that it will be useful, but
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering Lesser General Public License for more details.
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering You should have received a copy of the GNU Lesser General Public License
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering***/
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering#include <dirent.h>
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen
8dfb6e718d621a5115bd3b8e7e826195dc6bfe14Nathaniel Chen#include "bootchart.h"
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poettering
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poetteringdouble gettime_ns(void);
6d031c0b6037ac7308d31562c09fb8ac714e82b4Lennart Poetteringvoid log_uptime(void);
1f2ecb0393bf071fcd476300e0b3f94726b01b15Daniel Mackint log_sample(DIR *proc,
1f2ecb0393bf071fcd476300e0b3f94726b01b15Daniel Mack int sample,
1f2ecb0393bf071fcd476300e0b3f94726b01b15Daniel Mack struct ps_struct *ps_first,
1f2ecb0393bf071fcd476300e0b3f94726b01b15Daniel Mack struct list_sample_data **ptr,
1f2ecb0393bf071fcd476300e0b3f94726b01b15Daniel Mack int *pscount,
1f2ecb0393bf071fcd476300e0b3f94726b01b15Daniel Mack int *cpus);