Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: src/platform-freebsd.cc

Issue 4084001: Fix FreeBSD port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 signal_handler_installed_ = false; 610 signal_handler_installed_ = false;
611 } 611 }
612 612
613 bool signal_handler_installed_; 613 bool signal_handler_installed_;
614 struct sigaction old_signal_handler_; 614 struct sigaction old_signal_handler_;
615 struct itimerval old_timer_value_; 615 struct itimerval old_timer_value_;
616 }; 616 };
617 617
618 618
619 Sampler::Sampler(int interval, bool profiling) 619 Sampler::Sampler(int interval, bool profiling)
620 : interval_(interval), profiling_(profiling), active_(false) { 620 : interval_(interval),
621 profiling_(profiling),
622 synchronous_(profiling),
623 active_(false) {
621 data_ = new PlatformData(); 624 data_ = new PlatformData();
622 } 625 }
623 626
624 627
625 Sampler::~Sampler() { 628 Sampler::~Sampler() {
626 delete data_; 629 delete data_;
627 } 630 }
628 631
629 632
630 void Sampler::Start() { 633 void Sampler::Start() {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 } 666 }
664 667
665 // This sampler is no longer the active sampler. 668 // This sampler is no longer the active sampler.
666 active_sampler_ = NULL; 669 active_sampler_ = NULL;
667 active_ = false; 670 active_ = false;
668 } 671 }
669 672
670 #endif // ENABLE_LOGGING_AND_PROFILING 673 #endif // ENABLE_LOGGING_AND_PROFILING
671 674
672 } } // namespace v8::internal 675 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698