diff options
author | Martin Willi <martin@strongswan.org> | 2008-10-21 13:00:38 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-10-21 13:00:38 +0000 |
commit | 0fd6e9556201c12d9e5fe63e5a11ff9c9d404062 (patch) | |
tree | 0f43ce0caabc3af757dffaea0730a3a0f5db329f /src/charon/plugins/load_tester/load_tester_plugin.h | |
parent | 6df2837a8ce54887e142082f48a64f879b28c092 (diff) | |
download | strongswan-0fd6e9556201c12d9e5fe63e5a11ff9c9d404062.tar.bz2 strongswan-0fd6e9556201c12d9e5fe63e5a11ff9c9d404062.tar.xz |
a load testing plugin, to:
find multi-threading issues
do performance profiling
Diffstat (limited to 'src/charon/plugins/load_tester/load_tester_plugin.h')
-rw-r--r-- | src/charon/plugins/load_tester/load_tester_plugin.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/charon/plugins/load_tester/load_tester_plugin.h b/src/charon/plugins/load_tester/load_tester_plugin.h new file mode 100644 index 000000000..10088bfa2 --- /dev/null +++ b/src/charon/plugins/load_tester/load_tester_plugin.h @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2008 Martin Willi + * Hochschule fuer Technik Rapperswil + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. + * + * 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 General Public License + * for more details. + * + * $Id$ + */ + +/** + * @defgroup load_tester load_tester + * @ingroup cplugins + * + * @defgroup load_tester_plugin load_tester_plugin + * @{ @ingroup load_tester + */ + +#ifndef LOAD_TESTER_PLUGIN_H_ +#define LOAD_TESTER_PLUGIN_H_ + +#include <plugins/plugin.h> + +typedef struct load_tester_plugin_t load_tester_plugin_t; + +/** + * Load tester plugin to inspect system core under high load. + * + * This plugin + */ +struct load_tester_plugin_t { + + /** + * implements plugin interface + */ + plugin_t plugin; +}; + +/** + * Create a load_tester_plugin instance. + */ +plugin_t *plugin_create(); + +#endif /* LOAD_TESTER_PLUGIN_H_ @}*/ |