403 Forbidden


Disable Functions:
Path : /usr/libexec/perf-core/scripts/python/
File Upload :
Command :
Current File : //usr/libexec/perf-core/scripts/python/mem-phys-addr.pyo

�
G��dc@ s�ddlmZddlZddlZddlZddlZddlZddlZejj	ej
dd�gZgZdaej�Zdad�Zd�Zd�Zd�Zd	�Zd
�Zd�Zd�ZdS(
i����(tdivisionNtPERF_EXEC_PATHs./scripts/python/Perf-Trace-Util/lib/Perf/TracecC s�tdd�ax�tt�D]�\}}tjd|d�}|dj�dkr�tjt|dd��tjt|dd��n|dj�d	krt	jt|dd��t	jt|dd��qqWdS(
Ns/proc/iomemtrs-|:is
System RAMiiisPersistent Memory(
topentft	enumeratetretsplittstript
system_ramtappendtlongtpmem(titjtm((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pytparse_iomemscC szdtGHdd
GddGttj��}xHttj�dd	�d
t�D]%\}}d||d||fGqMWdS(Ns	Event: %ss%-40s  %10s  %10s
sMemory typetcountt
percentages(----------------------------------------s-----------tkeycS s|\}}||fS(N((t.0tktv((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pyt<lambda>/streverses%-40s  %10d  %10.1f%%
id(sMemory typescountR(s(----------------------------------------s-----------s-----------(t
event_nametsumtload_mem_type_cnttvaluestsortedtmost_commontTrue(ttotaltmem_typeR((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pytprint_memory_type(s	cC st�dS(N(R(((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pyttrace_begin2scC st�tj�dS(N(R"Rtclose(((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pyt	trace_end5scC s*tjt|�}|ddkr&tStS(Nii(tbisectR	tFalseR(t	phys_addrtposition((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pyt
is_system_ram9scC s*tjt|�}|ddkr&tStS(Nii(R&RR'R(R(R)((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pytis_persistent_mem@scC s�|dkrdSt|�r dSt|�r0dStjdd�xatD]Y}tjd|d�}t|dd�|ko�t|dd�knrG|dSqGWdS(	NisN/As
System RAMsPersistent Memorys-|:iii(R*R+RtseekRRR(R(RR((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pytfind_memory_typeFs
6cC sM|d}|d}|d}tdkr3|antt|�cd7<dS(Ntev_nametsampleR(i(RtNoneRR-(t
param_dicttnameR/R(((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pyt
process_eventWs


	(t
__future__RtostsyststructRR&tcollectionstpathR
tenvironR	RR0RtCounterRRRR"R#R%R*R+R-R3(((s6/usr/libexec/perf-core/scripts/python/mem-phys-addr.pyt<module>s*		
					

404 Not Found
[ LogOut ]