Variables
makeTestPickles Namespace Reference

Variables

 n_chains = np.random.random_integers(1,5)
 Clean start os.system("rm -f /Users/mt354/Analysis/Production/web/test_a/*.pkl") Config. More...
 
 n_tiers = np.random.random_integers(2,5)
 
list vv_metrics
 
list v_metrics
 
list metrics
 
int time_range = np.random.random()*100
 
int time_steps = 1
 
 n_time_steps = int(time_range/time_steps)
 
dictionary events
 
 chain = Chain.Chain("Chain_%i"%i_chain)
 Make fake chains. More...
 
 tier
 
 run
 
 output_name = "/Users/mt354/Analysis/Production/web/test_b/pkl_%i.pkl"
 Pickle. More...
 
 output_size
 
 output_events
 
 return_code
 
 sample_times
 
 full_fcl
 
 f = open("tmp.txt","wb")
 
 db_usage
 
 env
 
 time_str
 

Variable Documentation

makeTestPickles.chain = Chain.Chain("Chain_%i"%i_chain)

Make fake chains.

Definition at line 50 of file makeTestPickles.py.

makeTestPickles.db_usage

Definition at line 85 of file makeTestPickles.py.

makeTestPickles.env

Definition at line 91 of file makeTestPickles.py.

dictionary makeTestPickles.events
Initial value:
1 = {1.:"Begin processing the 1st event",
2  2.:" query took 5 ms",
3  3.:" parsing took 5 ms",
4  5.:"Begin processing the 2nd event",
5  7.:"Begin processing the 3rd event",
6  }

Definition at line 42 of file makeTestPickles.py.

makeTestPickles.f = open("tmp.txt","wb")

Definition at line 82 of file makeTestPickles.py.

makeTestPickles.full_fcl

Definition at line 64 of file makeTestPickles.py.

list makeTestPickles.metrics
Initial value:
1 = ["input_events",
2  "used_events",
3  "user_cpu",
4  "system_cpu",
5  "peak_memory"]

Definition at line 32 of file makeTestPickles.py.

makeTestPickles.n_chains = np.random.random_integers(1,5)

Clean start os.system("rm -f /Users/mt354/Analysis/Production/web/test_a/*.pkl") Config.

Definition at line 13 of file makeTestPickles.py.

makeTestPickles.n_tiers = np.random.random_integers(2,5)

Definition at line 15 of file makeTestPickles.py.

makeTestPickles.n_time_steps = int(time_range/time_steps)

Definition at line 41 of file makeTestPickles.py.

makeTestPickles.output_events

Definition at line 61 of file makeTestPickles.py.

string makeTestPickles.output_name = "/Users/mt354/Analysis/Production/web/test_b/pkl_%i.pkl"

Pickle.

Definition at line 58 of file makeTestPickles.py.

makeTestPickles.output_size

Definition at line 60 of file makeTestPickles.py.

makeTestPickles.return_code
makeTestPickles.run

Definition at line 57 of file makeTestPickles.py.

makeTestPickles.sample_times

Definition at line 63 of file makeTestPickles.py.

makeTestPickles.tier
Initial value:
1 = Tier.Tier(short_name ="tier_%i"%i_tier,
2  input_name ="input_name_%i"%i_tier,
3  fcl ="fcl_%i"%i_tier,
4  output_name="output_name_%i"%i_tier,
5  )
Definition: Tier.py:1

Definition at line 52 of file makeTestPickles.py.

int makeTestPickles.time_range = np.random.random()*100

Definition at line 38 of file makeTestPickles.py.

int makeTestPickles.time_steps = 1

Definition at line 40 of file makeTestPickles.py.

makeTestPickles.time_str

Definition at line 98 of file makeTestPickles.py.

list makeTestPickles.v_metrics
Initial value:
1 = ["memory",
2  "memory_percent",
3  "cpu_percent",
4  "u_cpu_times",
5  "s_cpu_times",
6  "read_bytes",
7  "write_bytes",
8  "rss_memory",
9  "vms_memory",
10  ]

Definition at line 20 of file makeTestPickles.py.

list makeTestPickles.vv_metrics
Initial value:
1 = ["open_files",
2  "connections"]

Definition at line 17 of file makeTestPickles.py.