Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
ba69404d
Commit
ba69404d
authored
May 18, 2007
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Added fucntion dol_microtime_float
parent
dfd0ee4c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/lib/functions.inc.php
+10
-0
10 additions, 0 deletions
htdocs/lib/functions.inc.php
with
10 additions
and
0 deletions
htdocs/lib/functions.inc.php
+
10
−
0
View file @
ba69404d
...
...
@@ -2706,4 +2706,14 @@ function ajax_autocompleter($selected='',$htmlname,$url,$indicator='working')
return
$script
;
}
/**
* \brief Fonction simple identique microtime de PHP 5 mais compatible PHP 4
* \return float Time en millisecondes avec decimal pour microsecondes
*/
function
dol_microtime_float
()
{
list
(
$usec
,
$sec
)
=
explode
(
" "
,
microtime
());
return
((
float
)
$usec
+
(
float
)
$sec
);
}
?>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment