Data Structures | Defines | Functions | Variables

TestDNS.cc File Reference

A brief file description. More...

#include "DNS.h"
#include <iostream.h>
#include <fstream.h>
#include <string.h>
#include "VConnection.h"
#include "stdio.h"
#include "libts.h"
Include dependency graph for TestDNS.cc:

Go to the source code of this file.

Data Structures

class  TestDnsStateMachine

Defines

#define N_STATE_MACHINES   1000
#define MEASUREMENT_INTERVAL   100

Functions

void complete ()
void test ()

Variables

unsigned g_host_ip = 0
char * in_file_name = "test_dns.in"
char * out_file_name = "test_dns.out"
char * rate_file_name = "rates.out"
char * rate_misc_file_name = "rates.misc.out"
ofstream fout
ofstream fout_rate
ofstream fout_rate_misc
FILE * fin
int state_machines_created
int state_machines_finished
int measurement_interval
ink_hrtime start_time
ink_hrtime last_measurement_time

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file TestDNS.cc.


Define Documentation

#define MEASUREMENT_INTERVAL   100

Definition at line 43 of file TestDNS.cc.

#define N_STATE_MACHINES   1000

Definition at line 42 of file TestDNS.cc.


Function Documentation

void complete (  ) 
void test (  ) 

Variable Documentation

FILE* fin

Definition at line 59 of file TestDNS.cc.

Referenced by test().

ofstream fout

Definition at line 57 of file TestDNS.cc.

Referenced by complete(), TestDnsStateMachine::processEvent(), and test().

ofstream fout_rate

Definition at line 58 of file TestDNS.cc.

Referenced by complete(), and test().

ofstream fout_rate_misc

Definition at line 58 of file TestDNS.cc.

Referenced by complete(), and test().

unsigned g_host_ip = 0

Definition at line 52 of file TestDNS.cc.

Referenced by TestDnsStateMachine::processEvent().

char* in_file_name = "test_dns.in"

Definition at line 53 of file TestDNS.cc.

Referenced by test().

Definition at line 178 of file TestDNS.cc.

Referenced by complete(), and test().

Definition at line 177 of file TestDNS.cc.

Referenced by complete(), and test().

char* out_file_name = "test_dns.out"

Definition at line 54 of file TestDNS.cc.

Referenced by test().

char* rate_file_name = "rates.out"

Definition at line 55 of file TestDNS.cc.

Referenced by test().

char* rate_misc_file_name = "rates.misc.out"

Definition at line 56 of file TestDNS.cc.

Referenced by test().

Definition at line 178 of file TestDNS.cc.

Referenced by complete(), and test().

Definition at line 177 of file TestDNS.cc.

Referenced by complete(), and test().

Definition at line 177 of file TestDNS.cc.

Referenced by complete(), and test().