Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /proc/thread-self/root/usr/local/lib/python3.8/dist-packages/chronometry/time/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : //proc/thread-self/root/usr/local/lib/python3.8/dist-packages/chronometry/time/measure.py

from chronometry.time.Timer import Timer
import functools


def measure(function, measurement_set, name, unit='ms'):
	"""
	:param callable function: function to be timed
	:type name: str
	:type unit: str
	:param .MeasurementSet_class.MeasurementSet measurement_set:
	:rtype: callable
	"""

	@functools.wraps(function)
	def wrapper(*args, **kwargs):
		timer = Timer(start_now=True, unit=unit)
		result = function(*args, **kwargs)
		timer.stop()
		measurement_set.add_measurement(name=name, timer=timer)
		return result
	wrapper.measurement_set = measurement_set

	return wrapper

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net