Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/sspencer/bp-profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
lloyd committed Dec 13, 2008
2 parents 29171d0 + 9d667af commit 56a5392
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/service/BrowserProfiler.rb
Expand Up @@ -20,13 +20,6 @@ def initialize(args)
# or 1,000 samples are taken.
#
def start(bp, args)
if @takingSamples == true
bp.error("alreadyStarted",
"you tried to start another sampling process, but we're" +
" already sampling")
return
end

if @takingSamples == true
bp.error("alreadyStarted", "you tried to start another sampling process, but we're already sampling")
return
Expand Down Expand Up @@ -100,8 +93,6 @@ def _ps_browser(pat)
# Get a single sample. Three system calls are made, 1 to iostat and 2 to ps
#
def _get_sample
# problem passing this thru to javascript as a float
#stime = Time.now.to_f
time = (Time.now - @startTime).to_f

x = `iostat -n 0 | tail -1`
Expand Down

0 comments on commit 56a5392

Please sign in to comment.