Go to the source code of this file.
Defines | |
#define | LOCAL_BUF_MAX 20000 |
#define | MinMilliSleep 2 |
#define | MyAlloc(NNN, TTT) (TTT *) calloc(NNN, sizeof(TTT)) |
Typedefs | |
typedef struct ccn_charbuf * | MyCharbuf |
typedef char * | string |
typedef struct TestElemStruct * | TestElem |
Functions | |
static uint64_t | GetCurrentTime (void) |
static double | DeltaTime (uint64_t mt1, uint64_t mt2) |
static void | MilliSleep (uint64_t n) |
static int | retErr (string msg) |
static TestElem | NewElem (struct MyParms *p) |
static TestElem | ElemDone (TestElem e) |
static int | runTest (struct MyParms *p) |
int | main (int argc, string *argv) |
Variables | |
static char * | help |
Copyright (C) 2011 Palo Alto Research Center, Inc.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library 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 for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Definition in file ccn_fetch_test.c.
#define LOCAL_BUF_MAX 20000 |
#define MinMilliSleep 2 |
#define MyAlloc | ( | NNN, | |||
TTT | ) | (TTT *) calloc(NNN, sizeof(TTT)) |
typedef struct ccn_charbuf* MyCharbuf |
Definition at line 40 of file ccn_fetch_test.c.
typedef char* string |
Definition at line 41 of file ccn_fetch_test.c.
typedef struct TestElemStruct* TestElem |
Definition at line 91 of file ccn_fetch_test.c.
static double DeltaTime | ( | uint64_t | mt1, | |
uint64_t | mt2 | |||
) | [static] |
Definition at line 64 of file ccn_fetch_test.c.
static uint64_t GetCurrentTime | ( | void | ) | [static] |
int main | ( | int | argc, | |
string * | argv | |||
) |
Definition at line 235 of file ccn_fetch_test.c.
static void MilliSleep | ( | uint64_t | n | ) | [static] |
static TestElem NewElem | ( | struct MyParms * | p | ) | [static] |
static int retErr | ( | string | msg | ) | [static] |
static int runTest | ( | struct MyParms * | p | ) | [static] |
char* help [static] |
Initial value:
"usage: ccn_fetch_test {switch | ccnName}*\n\ -help help\n\ -out XXX sets output file to XXX (default: stdout)\n\ -mb NNN ses NNN as max number of buffers to use (default: 4)\n\ -d enables debug output (default: none)\n\ -f use fixed-size segments (default: variable)\n\ -nv no resolve version (default: CCN_V_HIGH)\n"
Definition at line 226 of file ccn_fetch_test.c.
Referenced by main().