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

Side by Side Diff: runtime/vm/timeline.h

Issue 2985253002: [corelib] dart:developer timeline flow events (Closed)
Patch Set: Update changelog Created 3 years, 4 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
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/timeline.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_VM_TIMELINE_H_ 5 #ifndef RUNTIME_VM_TIMELINE_H_
6 #define RUNTIME_VM_TIMELINE_H_ 6 #define RUNTIME_VM_TIMELINE_H_
7 7
8 #include "include/dart_tools_api.h" 8 #include "include/dart_tools_api.h"
9 9
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 868
869 static void ReportCompleteEvent(Thread* thread, 869 static void ReportCompleteEvent(Thread* thread,
870 Zone* zone, 870 Zone* zone,
871 TimelineEvent* event, 871 TimelineEvent* event,
872 int64_t start, 872 int64_t start,
873 int64_t start_cpu, 873 int64_t start_cpu,
874 const char* category, 874 const char* category,
875 const char* name, 875 const char* name,
876 const char* args); 876 const char* args);
877 877
878 static void ReportFlowEvent(Thread* thread,
879 Zone* zone,
880 TimelineEvent* event,
881 int64_t start,
882 int64_t start_cpu,
883 const char* category,
884 const char* name,
885 int64_t type,
886 int64_t flow_id,
887 const char* args);
888
878 static void ReportInstantEvent(Thread* thread, 889 static void ReportInstantEvent(Thread* thread,
879 Zone* zone, 890 Zone* zone,
880 TimelineEvent* event, 891 TimelineEvent* event,
881 int64_t start, 892 int64_t start,
882 const char* category, 893 const char* category,
883 const char* name, 894 const char* name,
884 const char* args); 895 const char* args);
885 }; 896 };
886 897
887 // These are common implementations of the DartTimelineEventHelpers that should 898 // These are common implementations of the DartTimelineEventHelpers that should
(...skipping 12 matching lines...) Expand all
900 911
901 static void ReportCompleteEvent(Thread* thread, 912 static void ReportCompleteEvent(Thread* thread,
902 Zone* zone, 913 Zone* zone,
903 TimelineEvent* event, 914 TimelineEvent* event,
904 int64_t start, 915 int64_t start,
905 int64_t start_cpu, 916 int64_t start_cpu,
906 const char* category, 917 const char* category,
907 const char* name, 918 const char* name,
908 const char* args); 919 const char* args);
909 920
921 static void ReportFlowEvent(Thread* thread,
922 Zone* zone,
923 TimelineEvent* event,
924 int64_t start,
925 int64_t start_cpu,
926 const char* category,
927 const char* name,
928 int64_t type,
929 int64_t flow_id,
930 const char* args);
931
910 static void ReportInstantEvent(Thread* thread, 932 static void ReportInstantEvent(Thread* thread,
911 Zone* zone, 933 Zone* zone,
912 TimelineEvent* event, 934 TimelineEvent* event,
913 int64_t start, 935 int64_t start,
914 const char* category, 936 const char* category,
915 const char* name, 937 const char* name,
916 const char* args); 938 const char* args);
917 }; 939 };
918 940
919 } // namespace dart 941 } // namespace dart
920 942
921 #endif // RUNTIME_VM_TIMELINE_H_ 943 #endif // RUNTIME_VM_TIMELINE_H_
OLDNEW
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/timeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698