def __init__(self, accounting):
     """See AccountingProbe.__init__"""        
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(IMProbe.COUNTER_ACCEPTED, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(IMProbe.COUNTER_REJECTED, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_stat(IMProbe.STAT_ACCEPTED)
     self.accounting.create_stat(IMProbe.STAT_REJECTED)
Beispiel #2
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_lease_stat(LeaseExtrasProbe.LEASE_STAT_STATE)
     self.accounting.create_lease_stat(LeaseExtrasProbe.LEASE_STAT_NUMNODES)
     self.accounting.create_lease_stat(LeaseExtrasProbe.LEASE_STAT_REQDURATION)
     self.accounting.create_lease_stat(LeaseExtrasProbe.LEASE_STAT_DURATION)
     self.accounting.create_lease_stat(LeaseExtrasProbe.LEASE_STAT_START)
     self.accounting.create_lease_stat(LeaseExtrasProbe.LEASE_STAT_DEADLINE)
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(BEProbe.COUNTER_BESTEFFORTCOMPLETED, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(BEProbe.COUNTER_QUEUESIZE, AccountingDataCollection.AVERAGE_TIMEWEIGHTED)
     self.accounting.create_lease_stat(BEProbe.LEASE_STAT_WAITINGTIME)
     self.accounting.create_lease_stat(BEProbe.LEASE_STAT_SLOWDOWN)
     self.accounting.create_stat(BEProbe.STAT_BESTEFFORTCOMPLETED)
     self.accounting.create_stat(BEProbe.STAT_ALLBESTEFFORT)
Beispiel #4
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""        
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(CPUUtilizationProbe.COUNTER_UTILIZATION, AccountingDataCollection.AVERAGE_TIMEWEIGHTED)
     self.accounting.create_counter(CPUUtilizationProbe.COUNTER_INTERVAL, AccountingDataCollection.AVERAGE_TIMEWEIGHTED)
     self.utilization = 0 
     self.util_list = []
     self.total_utilization = 0
     self.count = 0
Beispiel #5
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(LeaseProbe.COUNTER_REQUESTED, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(LeaseProbe.COUNTER_COMPLETED, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(LeaseProbe.COUNTER_REJECTED, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(LeaseProbe.COUNTER_REJECTED_BY_USER, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_stat(LeaseProbe.STAT_REQUESTED)
     self.accounting.create_stat(LeaseProbe.STAT_COMPLETED)
     self.accounting.create_stat(LeaseProbe.STAT_REJECTED)
     self.accounting.create_stat(LeaseProbe.STAT_REJECTED_BY_USER)
Beispiel #6
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(IMProbe.COUNTER_ACCEPTED,
                                    AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(IMProbe.COUNTER_REJECTED,
                                    AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_stat(IMProbe.STAT_ACCEPTED)
     self.accounting.create_stat(IMProbe.STAT_REJECTED)
     self.AVG_IM_TT = 0
     self.IMTT = 0
Beispiel #7
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""        
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(PriceProbe.COUNTER_REVENUE, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(PriceProbe.COUNTER_SURCHARGE, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(PriceProbe.COUNTER_MISSED_REVENUE_UNDERCHARGE, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(PriceProbe.COUNTER_MISSED_REVENUE_REJECT, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_counter(PriceProbe.COUNTER_MISSED_REVENUE_REJECT_BY_USER, AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_stat(PriceProbe.STAT_REVENUE)
     self.accounting.create_stat(PriceProbe.STAT_SURCHARGE)
     self.accounting.create_stat(PriceProbe.STAT_MISSED_REVENUE_UNDERCHARGE)
     self.accounting.create_stat(PriceProbe.STAT_MISSED_REVENUE_REJECT)
     self.accounting.create_stat(PriceProbe.STAT_MISSED_REVENUE_REJECT_BY_USER)
     self.accounting.create_stat(PriceProbe.STAT_MISSED_REVENUE)
     self.accounting.create_lease_stat(PriceProbe.LEASE_STAT_PRICE)
    def __init__(self, accounting):
        """See AccountingProbe.__init__"""
	# Average Total Time 
        AccountingProbe.__init__(self, accounting)
        self.accounting.create_counter(TotalTimeprob.COUNTER_BESTEFFORTCOMPLETED, AccountingDataCollection.AVERAGE_NONE)
        self.accounting.create_lease_stat(TotalTimeprob.LEASE_STAT_WAITINGTIME)
        self.accounting.create_stat(TotalTimeprob.STAT_ALLBESTEFFORT) 
        self.accounting.create_stat(TotalTimeprob.STAT_BESTEFFORTCOMPLETED)
	self.completion = [] 
	# AVG Waiting Time
	self.total_waiting = 0 
	# Throughput 
	self.throughput1 =0
	self.throughput2 =0	
	self.cntr = 0
	self.submitted = 0 
Beispiel #9
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""
     # Average Total Time
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(
         TotalTimeprob.COUNTER_BESTEFFORTCOMPLETED,
         AccountingDataCollection.AVERAGE_NONE)
     self.accounting.create_lease_stat(TotalTimeprob.LEASE_STAT_WAITINGTIME)
     self.accounting.create_stat(TotalTimeprob.STAT_ALLBESTEFFORT)
     self.accounting.create_stat(TotalTimeprob.STAT_BESTEFFORTCOMPLETED)
     self.completion = []
     # AVG Waiting Time
     self.total_waiting = 0
     # Throughput
     self.throughput1 = 0
     self.throughput2 = 0
     self.cntr = 0
     self.submitted = 0
Beispiel #10
0
    def __init__(self, accounting):
        """See AccountingProbe.__init__"""

        AccountingProbe.__init__(self, accounting)
        self.accounting.create_counter(BEProbe.COUNTER_BESTEFFORTCOMPLETED,
                                       AccountingDataCollection.AVERAGE_NONE)
        self.accounting.create_counter(
            BEProbe.COUNTER_QUEUESIZE,
            AccountingDataCollection.AVERAGE_TIMEWEIGHTED)
        self.accounting.create_lease_stat(BEProbe.LEASE_STAT_WAITINGTIME)
        self.accounting.create_lease_stat(BEProbe.LEASE_STAT_PREEMPTION)
        self.accounting.create_lease_stat(BEProbe.LEASE_STAT_STARTED)
        self.accounting.create_lease_stat(BEProbe.LEASE_STAT_FINISHED)
        self.accounting.create_lease_stat(BEProbe.LEASE_STAT_TTBE)
        self.accounting.create_lease_stat(BEProbe.LEASE_STAT_SLOWDOWN)
        self.accounting.create_stat(BEProbe.STAT_BESTEFFORTCOMPLETED)
        self.accounting.create_stat(BEProbe.STAT_ALLBESTEFFORT)
        self.accounting.create_stat(BEProbe.STAT_ALLBESTEFFORTTT)
        self.AVG_BE_TT = 0
Beispiel #11
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""        
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(CpuLoadOnPhysicalNodes.COUNTER_CPU_LOAD_ON_PNODE, AccountingDataCollection.AVERAGE_NONE)
     self.all_pnode_capacities = {}
Beispiel #12
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""        
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(DiskUsageProbe.COUNTER_DISKUSAGE, AccountingDataCollection.AVERAGE_NONE)
Beispiel #13
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_lease_stat(DeadlineProbe.LEASE_STAT_SLOWDOWN)
Beispiel #14
0
 def __init__(self, accounting):
     """See AccountingProbe.__init__"""        
     AccountingProbe.__init__(self, accounting)
     self.accounting.create_counter(CPUUtilizationProbe.COUNTER_UTILIZATION, AccountingDataCollection.AVERAGE_TIMEWEIGHTED)