Changeset View
Changeset View
Standalone View
Standalone View
src/applications/xhprof/storage/PhabricatorXHProfSample.php
<?php | <?php | ||||
final class PhabricatorXHProfSample extends PhabricatorXHProfDAO { | final class PhabricatorXHProfSample extends PhabricatorXHProfDAO { | ||||
protected $filePHID; | protected $filePHID; | ||||
protected $usTotal; | protected $usTotal; | ||||
protected $sampleRate; | protected $sampleRate; | ||||
protected $hostname; | protected $hostname; | ||||
protected $requestPath; | protected $requestPath; | ||||
protected $controller; | protected $controller; | ||||
protected $userPHID; | protected $userPHID; | ||||
public function getConfiguration() { | |||||
return array( | |||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'sampleRate' => 'uint32', | |||||
'usTotal' => 'uint64', | |||||
'hostname' => 'text255?', | |||||
'requestPath' => 'text255?', | |||||
'controller' => 'text255?', | |||||
'userPHID' => 'phid?', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'filePHID' => array( | |||||
'columns' => array('filePHID'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | |||||
} | |||||
} | } |