REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 913 B
Close
/home/nshryvcy/himaltourism.com/wp-content/plugins/facebook-for-woocommerce/includes/Debug/ProfilingLoggerProcess.php
Text
Base64
<?php // phpcs:ignoreFile namespace WooCommerce\Facebook\Debug; defined( 'ABSPATH' ) || exit; /** * Class ProfilingLoggerProcess */ class ProfilingLoggerProcess { /** @var int */ protected $start_memory; /** @var float */ protected $start_time; /** @var int */ protected $stop_memory; /** @var float */ protected $stop_time; /** * ProfileLoggerProcess constructor. */ public function __construct() { $this->start_memory = memory_get_usage(); $this->start_time = microtime( true ); } /** * Call when the process has stopped. */ public function stop() { $this->stop_memory = memory_get_usage(); $this->stop_time = microtime( true ); } /** * @return int */ public function get_memory_used() { return $this->stop_memory - $this->start_memory; } /** * @return float */ public function get_time_used() { return $this->stop_time - $this->start_time; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ProfilingLogger.php
2.13 KB
lrw-r--r--
2025-01-05 05:33:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ProfilingLoggerProcess.php
913 B
lrw-r--r--
2025-01-05 05:33:50
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).