Viewing File: /usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyc

ó
.Åt_c@s–dZddlTddlTddlTdefd„ƒYZdefd„ƒYZdefd„ƒYZd	efd
„ƒYZdefd„ƒYZd
S(së
  Copyright (c) 2018 Red Hat, Inc.

  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.
  
  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.
  
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  02110-1301, USA. 
iÿÿÿÿ(t*tBioStatscBseZdd„ZRS(RcKsStt|ƒj|tdƒtdƒtdƒtdƒtdƒgdd|dS(NtreadtwritetdiscardtflushtfuatprocRoottvdo(tsuperRt__init__tUint64Field(tselftnametkwargs((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
s				(t__name__t
__module__R
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyRstReadCacheStatscBseZdd„ZRS(RcKsGtt|ƒj|tdƒtdƒtdƒgdddd|dS(NtaccessesthitstdataHitstlabelPrefixs
read cacheRR(R	RR
R(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
)s
		(RRR
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR(stMemoryUsagecBseZdd„ZRS(RcKsJtt|ƒj|tdƒtdƒtdƒtdƒgdd|dS(Nt	bytesUsedt
peakBytesUsedtbiosUsedtpeakBioCountRR(R	RR
R(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
4s			(RRR
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR3stIndexStatisticscBseZdd„ZRS(RcKsƒtt|ƒj|tdƒtdƒtdƒtdƒtdƒtdƒtdƒtdd	d
ƒtdd	dƒg	d
d|dS(NtentriesIndexedt
postsFoundt
postsNotFoundtqueriesFoundtqueriesNotFoundtupdatesFoundtupdatesNotFoundtcurrDedupeQueriestlabelscurrent dedupe queriestmaxDedupeQueriessmaximum dedupe queriesRR(R	RR
RtUint32Field(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
Bs							(RRR
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyRAstKernelStatisticscBs#eZdd„ZdZd„ZRS(R'cKsštt|ƒj|tddtƒtddtƒtdƒtddddd	ƒtd
ddƒtddd
ƒtdƒtdƒtddtƒtdddƒtdddƒtdddƒtdddƒtdddƒtdddƒtdddƒtd dd!ƒtd"dd#ƒtd$dd%ƒtd&dd'ƒtd(dd)ƒtd*dd+ƒtd,dd-ƒt	d.ƒt
d/dd0ƒtd1ƒgd2d3d4d5|dS(6NtversiontdisplaytreleaseVersiontinstancetfiveTwelveByteEmulationR$s512 byte emulationtderiveds-'on' if ($logicalBlockSize == 512) else 'off'tcurrentVIOsInProgresss#current VDO IO requests in progresstmaxVIOss#maximum VDO IO requests in progresstdedupeAdviceTimeoutstflushOuttlogicalBlockSizetwriteAmplificationRatiosnround(($biosMeta["write"] + $biosOut["write"]) / float($biosIn["write"]), 2) if $biosIn["write"] > 0 else 0.00tbiosInRsbios int
biosInPartialsbios in partialtbiosOutsbios outtbiosMetas	bios metatbiosJournalsbios journalt
biosPageCachesbios page cachetbiosOutCompletedsbios out completedtbiosMetaCompletedsbios meta completedtbiosJournalCompletedsbios journal completedtbiosPageCacheCompletedsbios page cache completedtbiosAcknowledgedsbios acknowledgedtbiosAcknowledgedPartialsbios acknowledged partialtbiosInProgresssbios in progresst	readCachetmemoryUsagesKVDO moduletindextprocFiletkernel_statsRR(R	R'R
R&tFalsetStringFieldRt
FloatFieldRRRR(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
Ys8				icCsXtt|ƒj|ƒ}|jdƒtjksE|jdƒtkrTtdƒ‚n|S(NR(R*s!KernelStatistics version mismatch(R	R'tsampletgetStattstatisticsVersiontCURRENT_RELEASE_VERSION_NUMBERt	Exception(RtdeviceRI((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyRI†s-(RRR
RKRI(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR'Xs+N(	t__doc__tFieldt
StatStructtVDOReleaseVersionsRRRRR'(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyt<module>s



Back to Directory File Manager