C++程序  |  37行  |  676 B

/**
 * @file opgprof_options.h
 * Options for opgprof tool
 *
 * @remark Copyright 2003 OProfile authors
 * @remark Read the file COPYING
 *
 * @author John Levon
 * @author Philippe Elie
 */

#ifndef OPGPROF_OPTIONS_H
#define OPGPROF_OPTIONS_H

#include <string>

#include "common_option.h"

namespace options {
	extern std::string gmon_filename;
}

class inverted_profile;

/// a set of sample filenames to handle.
extern inverted_profile image_profile;

/**
 * handle_options - process command line
 * @param spec  profile specification
 *
 * Process the spec, fatally complaining on error.
 */
void handle_options(options::spec const & spec);

#endif // OPGPROF_OPTIONS_H