diff --git a/err b/err deleted file mode 100644 index 3c68c4f300e..00000000000 --- a/err +++ /dev/null @@ -1,37 +0,0 @@ -src/core/ext/transport/inproc/inproc_transport.cc: In function ‘void grpc_inproc_transport_init()’: -src/core/ext/transport/inproc/inproc_transport.cc:1092:17: error: unused variable ‘exec_ctx’ [-Werror=unused-variable] - grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - ^ -src/core/ext/transport/inproc/inproc_transport.cc: In function ‘grpc_channel* grpc_inproc_channel_create(grpc_server*, grpc_channel_args*, void*)’: -src/core/ext/transport/inproc/inproc_transport.cc:1158:17: error: unused variable ‘exec_ctx’ [-Werror=unused-variable] - grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - ^ -src/core/ext/transport/inproc/inproc_transport.cc: In function ‘void grpc_inproc_transport_shutdown()’: -src/core/ext/transport/inproc/inproc_transport.cc:1192:17: error: unused variable ‘exec_ctx’ [-Werror=unused-variable] - grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - ^ -cc1plus: all warnings being treated as errors -make: *** [/usr/local/google/home/yashkt/grpc-projects/grpc-c-fork/grpc/objs/opt/src/core/ext/transport/inproc/inproc_transport.o] Error 1 -src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc: In function ‘void grpc_ares_request_unref(grpc_ares_request*)’: -src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:111:21: error: unused variable ‘new_exec_ctx’ [-Werror=unused-variable] - grpc_exec_ctx new_exec_ctx = GRPC_EXEC_CTX_INIT; - ^ -src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc: In function ‘void on_srv_query_done_cb(void*, int, int, unsigned char*, int)’: -src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc:229:17: error: unused variable ‘exec_ctx’ [-Werror=unused-variable] - grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - ^ -cc1plus: all warnings being treated as errors -make: *** [/usr/local/google/home/yashkt/grpc-projects/grpc-c-fork/grpc/objs/opt/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.o] Error 1 -src/cpp/common/channel_arguments.cc: In destructor ‘grpc::ChannelArguments::~ChannelArguments()’: -src/cpp/common/channel_arguments.cc:70:17: error: unused variable ‘exec_ctx’ [-Werror=unused-variable] - grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - ^ -src/cpp/common/channel_arguments.cc: In member function ‘void grpc::ChannelArguments::SetSocketMutator(grpc_socket_mutator*)’: -src/cpp/common/channel_arguments.cc:99:17: error: unused variable ‘exec_ctx’ [-Werror=unused-variable] - grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - ^ -cc1plus: all warnings being treated as errors -make: *** [/usr/local/google/home/yashkt/grpc-projects/grpc-c-fork/grpc/objs/opt/src/cpp/common/channel_arguments.o] Error 1 -src/proto/grpc/testing/services.proto: warning: Import src/proto/grpc/testing/stats.proto but not used. -src/proto/grpc/testing/services.proto: warning: Import src/proto/grpc/testing/stats.proto but not used. -make: Target `all' not remade because of errors. diff --git a/grpc_c.32.ruby b/grpc_c.32.ruby deleted file mode 100644 index 5b14ce6a6ea..00000000000 Binary files a/grpc_c.32.ruby and /dev/null differ diff --git a/grpc_c.64.ruby b/grpc_c.64.ruby deleted file mode 100644 index 9a3875dccc5..00000000000 Binary files a/grpc_c.64.ruby and /dev/null differ diff --git a/memory_usage.csv b/memory_usage.csv deleted file mode 100644 index 4f2c2fb879f..00000000000 --- a/memory_usage.csv +++ /dev/null @@ -1 +0,0 @@ -8771.168889,165387,4457938,8698.928889,210284,, diff --git a/remove_exec_ctx.py b/remove_exec_ctx.py deleted file mode 100644 index fe530e424ee..00000000000 --- a/remove_exec_ctx.py +++ /dev/null @@ -1,49 +0,0 @@ -import os -import sys -import re - -def repl_fn(m): - ret = '' - ret = ret + m.groups()[0] + '(' - for i in range(1, len(m.groups())): - if(m.groups()[i] != None): - ret = ret + m.groups()[i] - else: - break - ret = ret + ')' - print '\n' + m.group() + '\nwith\n' + ret + '\n' - return ret - -def work_on(fname): - with open(fname) as f: - p = re.compile(r'((?:\b[^\s\(\),]+)|(?:\(\*[^\s\(\),]+\)))\s*' + # function name or function pointer - r'\(\s*' + # open brackets - r'(?:(?:exec_ctx)|(?:grpc_exec_ctx\s*\*\s*exec_ctx)|(?:&\s*exec_ctx))' + # first exec_ctx paramenter - r'\s*,?' + # comma after exec_ctx - r'(\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'(\s*,\s*[^\),]+)?' + # all but first argument - r'\s*\)') # close brackets - res = p.sub(repl_fn, f.read()) - - f = open(fname, 'w') - f.write(res) - f.close() - #print res - -def main(): - file_list = [] - for line in sys.stdin: - work_on(line.strip()) - - -if __name__ == '__main__': - main() diff --git a/scenario_result.json b/scenario_result.json deleted file mode 100644 index 00a7c1b7470..00000000000 --- a/scenario_result.json +++ /dev/null @@ -1 +0,0 @@ -{"scenario":{"name":"cpp_protobuf_async_unary_1channel_100rpcs_1MB","clientConfig":{"clientType":"ASYNC_CLIENT","outstandingRpcsPerChannel":100,"clientChannels":1,"loadParams":{"closedLoop":{}},"payloadConfig":{"simpleParams":{"reqSize":1048576,"respSize":1048576}},"histogramParams":{"resolution":0.01,"maxPossible":60000000000},"channelArgs":[{"name":"grpc.optimization_target","strValue":"throughput"}]},"numClients":1,"serverConfig":{"serverType":"ASYNC_SERVER","channelArgs":[{"name":"grpc.optimization_target","strValue":"throughput"}]},"numServers":1,"warmupSecon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":[{"name":"client_calls_created","count":"0"},{"name":"server_calls_created","count":"1"},{"name":"cqs_created","count":"19"},{"name":"client_channels_created","count":"0"},{"name":"client_subchannels_created","count":"0"},{"name":"server_channels_created","count":"2"},{"name":"syscall_poll","count":"22"},{"name":"syscall_wait","count":"0"},{"name":"pollset_kick","count":"7"},{"name":"pollset_kicked_without_poller","count":"3"},{"name":"pollset_kicked_again","count":"0"},{"name":"pollset_kick_wakeup_fd","count":"0"},{"name":"pollset_kick_wakeup_cv","count":"16"},{"name":"pollset_kick_own_thread","count":"3"},{"name":"histogram_slow_lookups","count":"1"},{"name":"syscall_write","count":"8"},{"name":"syscall_read","count":"19"},{"name":"tcp_backup_pollers_created","count":"0"},{"name":"tcp_backup_poller_polls","count":"0"},{"name":"http2_op_batches","count":"7"},{"name":"http2_op_cancel","count":"0"},{"name":"http2_op_send_initial_metadata","count":"1"},{"name":"http2_op_send_message","count":"2"},{"name":"http2_op_send_trailing_metadata","count":"0"},{"name":"http2_op_recv_initial_metadata","count":"1"},{"name":"http2_op_recv_message","count":"3"},{"name":"http2_op_recv_trailing_metadata","count":"1"},{"name":"http2_settings_writes","count":"2"},{"name":"http2_pings_sent","count":"3"},{"name":"http2_writes_begun","count":"7"},{"name":"http2_writes_offloaded","count":"2"},{"name":"http2_writes_continued","count":"0"},{"name":"http2_partial_writes","count":"0"},{"name":"http2_initiate_write_due_to_initial_write","count":"0"},{"name":"http2_initiate_write_due_to_start_new_stream","count":"0"},{"name":"http2_initiate_write_due_to_send_message","count":"1"},{"name":"http2_initiate_write_due_to_send_initial_metadata","count":"1"},{"name":"http2_initiate_write_due_to_send_trailing_metadata","count":"0"},{"name":"http2_initiate_write_due_to_retry_send_ping","count":"0"},{"name":"http2_initiate_write_due_to_continue_pings","count":"0"},{"name":"http2_initiate_write_due_to_goaway_sent","count":"0"},{"name":"http2_initiate_write_due_to_rst_stream","count":"0"},{"name":"http2_initiate_write_due_to_close_from_api","count":"0"},{"name":"http2_initiate_write_due_to_stream_flow_control","count":"0"},{"name":"http2_initiate_write_due_to_transport_flow_control","count":"2"},{"name":"http2_initiate_write_due_to_send_settings","count":"0"},{"name":"http2_initiate_write_due_to_bdp_estimator_ping","count":"0"},{"name":"http2_initiate_write_due_to_flow_control_unstalled_by_setting","count":"0"},{"name":"http2_initiate_write_due_to_flow_control_unstalled_by_update","count":"0"},{"name":"http2_initiate_write_due_to_application_ping","count":"0"},{"name":"http2_initiate_write_due_to_keepalive_ping","count":"0"},{"name":"http2_initiate_write_due_to_transport_flow_control_unstalled","count":"0"},{"name":"http2_initiate_write_due_to_ping_response","count":"3"},{"name":"http2_initiate_write_due_to_force_rst_stream","count":"0"},{"name":"http2_spurious_writes_begun","count":"0"},{"name":"hpack_recv_indexed","count":"0"},{"name":"hpack_recv_lithdr_incidx","count":"0"},{"name":"hpack_recv_lithdr_incidx_v","count":"9"},{"name":"hpack_recv_lithdr_notidx","count":"0"},{"name":"hpack_recv_lithdr_notidx_v","count":"0"},{"name":"hpack_recv_lithdr_nvridx","count":"0"},{"name":"hpack_recv_lithdr_nvridx_v","count":"0"},{"name":"hpack_recv_uncompressed","count":"18"},{"name":"hpack_recv_huffman","count":"0"},{"name":"hpack_recv_binary","count":"0"},{"name":"hpack_recv_binary_base64","count":"0"},{"name":"hpack_send_indexed","count":"0"},{"name":"hpack_send_lithdr_incidx","count":"0"},{"name":"hpack_send_lithdr_incidx_v","count":"4"},{"name":"hpack_send_lithdr_notidx","count":"0"},{"name":"hpack_send_lithdr_notidx_v","count":"0"},{"name":"hpack_send_lithdr_nvridx","count":"0"},{"name":"hpack_send_lithdr_nvridx_v","count":"0"},{"name":"hpack_send_uncompressed","count":"8"},{"name":"hpack_send_huffman","count":"0"},{"name":"hpack_send_binary","count":"0"},{"name":"hpack_send_binary_base64","count":"0"},{"name":"combiner_locks_initiated","count":"34"},{"name":"combiner_locks_scheduled_items","count":"58"},{"name":"combiner_locks_scheduled_final_items","count":"17"},{"name":"combiner_locks_offloaded","count":"0"},{"name":"executor_scheduled_short_items","count":"5"},{"name":"executor_scheduled_long_items","count":"0"},{"name":"executor_scheduled_to_self","count":"0"},{"name":"executor_wakeup_initiated","count":"5"},{"name":"executor_queue_drained","count":"5"},{"name":"executor_push_retries","count":"0"},{"name":"server_requested_calls","count":"240018"},{"name":"server_slowpath_requests_queued","count":"0"},{"name":"cq_ev_queue_trylock_failures","count":"0"},{"name":"cq_ev_queue_trylock_successes","count":"10497179"},{"name":"cq_ev_queue_transient_pop_failures","count":"0"},{"name":"call_initial_size","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4},{"start":5},{"start":7},{"start":9},{"start":11},{"start":14},{"start":17},{"start":21},{"start":26},{"start":32},{"start":39},{"start":47},{"start":57},{"start":68},{"start":82},{"start":98},{"start":117},{"start":140},{"start":167},{"start":199},{"start":238},{"start":284},{"start":339},{"start":404},{"start":482},{"start":575},{"start":685},{"start":816},{"start":972},{"start":1158},{"start":1380},{"start":1644},{"start":1959},{"start":2334},{"start":2780},{"start":3312},{"start":3945},{"start":4699},{"start":5597,"count":"1"},{"start":6667},{"start":7941},{"start":9459},{"start":11267},{"start":13420},{"start":15984},{"start":19038},{"start":22676},{"start":27009},{"start":32169},{"start":38315},{"start":45635},{"start":54353},{"start":64737},{"start":77104},{"start":91834},{"start":109378},{"start":130273},{"start":155159},{"start":184799},{"start":220100}]}},{"name":"poll_events_returned","histogram":{"buckets":[{},{"start":1,"count":"21"},{"start":2},{"start":3},{"start":4},{"start":5},{"start":6},{"start":7},{"start":8},{"start":9},{"start":10},{"start":11},{"start":12},{"start":13},{"start":14},{"start":15},{"start":16},{"start":17},{"start":18},{"start":19},{"start":20},{"start":21},{"start":22},{"start":23},{"start":24},{"start":25},{"start":26},{"start":27},{"start":28},{"start":30},{"start":32},{"start":34},{"start":36},{"start":38},{"start":40},{"start":42},{"start":44},{"start":46},{"start":48},{"start":50},{"start":52},{"start":54},{"start":56},{"start":58},{"start":60},{"start":63},{"start":66},{"start":69},{"start":72},{"start":75},{"start":78},{"start":81},{"start":84},{"start":87},{"start":90},{"start":94},{"start":98},{"start":102},{"start":106},{"start":110},{"start":114},{"start":118},{"start":122},{"start":126},{"start":131},{"start":136},{"start":141},{"start":146},{"start":151},{"start":156},{"start":162},{"start":168},{"start":174},{"start":180},{"start":186},{"start":192},{"start":199},{"start":206},{"start":213},{"start":220},{"start":228},{"start":236},{"start":244},{"start":252},{"start":260},{"start":269},{"start":278},{"start":287},{"start":297},{"start":307},{"start":317},{"start":327},{"start":338},{"start":349},{"start":360},{"start":372},{"start":384},{"start":396},{"start":409},{"start":422},{"start":436},{"start":450},{"start":464},{"start":479},{"start":494},{"start":510},{"start":526},{"start":543},{"start":560},{"start":578},{"start":596},{"start":615},{"start":634},{"start":654},{"start":674},{"start":695},{"start":717},{"start":739},{"start":762},{"start":785},{"start":809},{"start":834},{"start":859},{"start":885},{"start":912},{"start":939},{"start":967},{"start":996}]}},{"name":"tcp_write_size","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4},{"start":6},{"start":8},{"start":11},{"start":15},{"start":20},{"start":26,"count":"1"},{"start":34,"count":"1"},{"start":44},{"start":57,"count":"3"},{"start":73,"count":"1"},{"start":94},{"start":121},{"start":155,"count":"1"},{"start":199},{"start":255},{"start":327},{"start":419},{"start":537},{"start":688},{"start":881},{"start":1128},{"start":1444},{"start":1848},{"start":2365},{"start":3026},{"start":3872},{"start":4954},{"start":6338},{"start":8108},{"start":10373,"count":"1"},{"start":13270},{"start":16976},{"start":21717},{"start":27782},{"start":35541},{"start":45467},{"start":58165},{"start":74409},{"start":95189},{"start":121772},{"start":155778},{"start":199281},{"start":254933},{"start":326126},{"start":417200},{"start":533707},{"start":682750},{"start":873414},{"start":1117323},{"start":1429345},{"start":1828502},{"start":2339127},{"start":2992348},{"start":3827987},{"start":4896985},{"start":6264509},{"start":8013925},{"start":10251880},{"start":13114801}]}},{"name":"tcp_write_iov_size","histogram":{"buckets":[{},{"start":1,"count":"1"},{"start":2,"count":"3"},{"start":3,"count":"3"},{"start":4},{"start":5},{"start":6},{"start":7},{"start":8},{"start":9},{"start":10},{"start":11},{"start":12},{"start":14},{"start":16},{"start":18,"count":"1"},{"start":20},{"start":22},{"start":24},{"start":27},{"start":30},{"start":33},{"start":36},{"start":39},{"start":43},{"start":47},{"start":51},{"start":56},{"start":61},{"start":66},{"start":72},{"start":78},{"start":85},{"start":92},{"start":100},{"start":109},{"start":118},{"start":128},{"start":139},{"start":151},{"start":164},{"start":178},{"start":193},{"start":209},{"start":226},{"start":244},{"start":264},{"start":285},{"start":308},{"start":333},{"start":359},{"start":387},{"start":418},{"start":451},{"start":486},{"start":524},{"start":565},{"start":609},{"start":656},{"start":707},{"start":762},{"start":821},{"start":884},{"start":952}]}},{"name":"tcp_read_size","histogram":{"buckets":[{},{"start":1},{"start":2,"count":"1"},{"start":3},{"start":4,"count":"1"},{"start":6},{"start":8},{"start":11},{"start":15},{"start":20},{"start":26,"count":"1"},{"start":34,"count":"1"},{"start":44,"count":"2"},{"start":57},{"start":73,"count":"1"},{"start":94,"count":"1"},{"start":121},{"start":155},{"start":199},{"start":255},{"start":327},{"start":419,"count":"1"},{"start":537},{"start":688},{"start":881},{"start":1128},{"start":1444},{"start":1848},{"start":2365},{"start":3026},{"start":3872},{"start":4954},{"start":6338},{"start":8108},{"start":10373},{"start":13270},{"start":16976},{"start":21717},{"start":27782},{"start":35541},{"start":45467},{"start":58165},{"start":74409},{"start":95189},{"start":121772},{"start":155778},{"start":199281},{"start":254933},{"start":326126},{"start":417200},{"start":533707},{"start":682750},{"start":873414},{"start":1117323},{"start":1429345},{"start":1828502},{"start":2339127},{"start":2992348},{"start":3827987},{"start":4896985},{"start":6264509},{"start":8013925},{"start":10251880},{"start":13114801}]}},{"name":"tcp_read_offer","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4},{"start":6},{"start":8},{"start":11},{"start":15},{"start":20},{"start":26},{"start":34},{"start":44},{"start":57},{"start":73},{"start":94},{"start":121},{"start":155},{"start":199},{"start":255},{"start":327},{"start":419},{"start":537},{"start":688},{"start":881},{"start":1128},{"start":1444},{"start":1848},{"start":2365},{"start":3026},{"start":3872},{"start":4954},{"start":6338},{"start":8108,"count":"3"},{"start":10373},{"start":13270,"count":"16"},{"start":16976},{"start":21717},{"start":27782},{"start":35541},{"start":45467},{"start":58165},{"start":74409},{"start":95189},{"start":121772},{"start":155778},{"start":199281},{"start":254933},{"start":326126},{"start":417200},{"start":533707},{"start":682750},{"start":873414},{"start":1117323},{"start":1429345},{"start":1828502},{"start":2339127},{"start":2992348},{"start":3827987},{"start":4896985},{"start":6264509},{"start":8013925},{"start":10251880},{"start":13114801}]}},{"name":"tcp_read_offer_iov_size","histogram":{"buckets":[{},{"start":1,"count":"3"},{"start":2,"count":"16"},{"start":3},{"start":4},{"start":5},{"start":6},{"start":7},{"start":8},{"start":9},{"start":10},{"start":11},{"start":12},{"start":14},{"start":16},{"start":18},{"start":20},{"start":22},{"start":24},{"start":27},{"start":30},{"start":33},{"start":36},{"start":39},{"start":43},{"start":47},{"start":51},{"start":56},{"start":61},{"start":66},{"start":72},{"start":78},{"start":85},{"start":92},{"start":100},{"start":109},{"start":118},{"start":128},{"start":139},{"start":151},{"start":164},{"start":178},{"start":193},{"start":209},{"start":226},{"start":244},{"start":264},{"start":285},{"start":308},{"start":333},{"start":359},{"start":387},{"start":418},{"start":451},{"start":486},{"start":524},{"start":565},{"start":609},{"start":656},{"start":707},{"start":762},{"start":821},{"start":884},{"start":952}]}},{"name":"http2_send_message_size","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4,"count":"1"},{"start":6},{"start":8},{"start":11},{"start":15},{"start":20},{"start":26},{"start":34},{"start":44},{"start":57},{"start":73},{"start":94},{"start":121},{"start":155},{"start":199},{"start":255},{"start":327},{"start":419},{"start":537},{"start":688},{"start":881},{"start":1128},{"start":1444},{"start":1848},{"start":2365},{"start":3026},{"start":3872},{"start":4954},{"start":6338},{"start":8108},{"start":10373,"count":"1"},{"start":13270},{"start":16976},{"start":21717},{"start":27782},{"start":35541},{"start":45467},{"start":58165},{"start":74409},{"start":95189},{"start":121772},{"start":155778},{"start":199281},{"start":254933},{"start":326126},{"start":417200},{"start":533707},{"start":682750},{"start":873414},{"start":1117323},{"start":1429345},{"start":1828502},{"start":2339127},{"start":2992348},{"start":3827987},{"start":4896985},{"start":6264509},{"start":8013925},{"start":10251880},{"start":13114801}]}},{"name":"http2_send_initial_metadata_per_write","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4},{"start":5},{"start":6},{"start":7},{"start":8},{"start":9},{"start":10},{"start":11},{"start":12},{"start":14},{"start":16},{"start":18},{"start":20},{"start":22},{"start":24},{"start":27},{"start":30},{"start":33},{"start":36},{"start":39},{"start":43},{"start":47},{"start":51},{"start":56},{"start":61},{"start":66},{"start":72},{"start":78},{"start":85},{"start":92},{"start":100},{"start":109},{"start":118},{"start":128},{"start":139},{"start":151},{"start":164},{"start":178},{"start":193},{"start":209},{"start":226},{"start":244},{"start":264},{"start":285},{"start":308},{"start":333},{"start":359},{"start":387},{"start":418},{"start":451},{"start":486},{"start":524},{"start":565},{"start":609},{"start":656},{"start":707},{"start":762},{"start":821},{"start":884},{"start":952}]}},{"name":"http2_send_message_per_write","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4},{"start":5},{"start":6},{"start":7},{"start":8},{"start":9},{"start":10},{"start":11},{"start":12},{"start":14},{"start":16},{"start":18},{"start":20},{"start":22},{"start":24},{"start":27},{"start":30},{"start":33},{"start":36},{"start":39},{"start":43},{"start":47},{"start":51},{"start":56},{"start":61},{"start":66},{"start":72},{"start":78},{"start":85},{"start":92},{"start":100},{"start":109},{"start":118},{"start":128},{"start":139},{"start":151},{"start":164},{"start":178},{"start":193},{"start":209},{"start":226},{"start":244},{"start":264},{"start":285},{"start":308},{"start":333},{"start":359},{"start":387},{"start":418},{"start":451},{"start":486},{"start":524},{"start":565},{"start":609},{"start":656},{"start":707},{"start":762},{"start":821},{"start":884},{"start":952}]}},{"name":"http2_send_trailing_metadata_per_write","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4},{"start":5},{"start":6},{"start":7},{"start":8},{"start":9},{"start":10},{"start":11},{"start":12},{"start":14},{"start":16},{"start":18},{"start":20},{"start":22},{"start":24},{"start":27},{"start":30},{"start":33},{"start":36},{"start":39},{"start":43},{"start":47},{"start":51},{"start":56},{"start":61},{"start":66},{"start":72},{"start":78},{"start":85},{"start":92},{"start":100},{"start":109},{"start":118},{"start":128},{"start":139},{"start":151},{"start":164},{"start":178},{"start":193},{"start":209},{"start":226},{"start":244},{"start":264},{"start":285},{"start":308},{"start":333},{"start":359},{"start":387},{"start":418},{"start":451},{"start":486},{"start":524},{"start":565},{"start":609},{"start":656},{"start":707},{"start":762},{"start":821},{"start":884},{"start":952}]}},{"name":"http2_send_flowctl_per_write","histogram":{"buckets":[{},{"start":1},{"start":2},{"start":3},{"start":4},{"start":5},{"start":6},{"start":7},{"start":8},{"start":9},{"start":10},{"start":11},{"start":12},{"start":14},{"start":16},{"start":18},{"start":20},{"start":22},{"start":24},{"start":27},{"start":30},{"start":33},{"start":36},{"start":39},{"start":43},{"start":47},{"start":51},{"start":56},{"start":61},{"start":66},{"start":72},{"start":78},{"start":85},{"start":92},{"start":100},{"start":109},{"start":118},{"start":128},{"start":139},{"start":151},{"start":164},{"start":178},{"start":193},{"start":209},{"start":226},{"start":244},{"start":264},{"start":285},{"start":308},{"start":333},{"start":359},{"start":387},{"start":418},{"start":451},{"start":486},{"start":524},{"start":565},{"start":609},{"start":656},{"start":707},{"start":762},{"start":821},{"start":884},{"start":952}]}},{"name":"server_cqs_checked","histogram":{"buckets":[{"count":"1"},{"start":1},{"start":2},{"start":4},{"start":7},{"start":13},{"start":23},{"start":39}]}}]}}],"serverCores":[12],"summary":{"qps":"NaN","qpsPerServerCore":"NaN","serverSystemTime":35.506318740121465,"serverUserTime":23.053107435850553,"clientSystemTime":"NaN","clientUserTime":"NaN","serverCpuUsage":11.611138028329577,"clientPollsPerRequest":"NaN","serverPollsPerRequest":"Infinity","clientQueriesPerCpuSec":"NaN"},"clientSuccess":[false],"serverSuccess":[true]} \ No newline at end of file diff --git a/src/core/ext/filters/client_channel/subchannel_index.cc b/src/core/ext/filters/client_channel/subchannel_index.cc index 69da1967378..cb8e480734f 100644 --- a/src/core/ext/filters/client_channel/subchannel_index.cc +++ b/src/core/ext/filters/client_channel/subchannel_index.cc @@ -134,7 +134,7 @@ void grpc_subchannel_index_unref(void) { if (gpr_unref(&g_refcount)) { ExecCtx _local_exec_ctx; gpr_mu_destroy(&g_mu); - gpr_avl_unref(g_subchannel_index, &exec_ctx); + gpr_avl_unref(g_subchannel_index, exec_ctx); grpc_exec_ctx_finish(); } } diff --git a/src/core/lib/iomgr/closure.cc b/src/core/lib/iomgr/closure.cc index 9a8e3b18f4e..44731eed760 100644 --- a/src/core/lib/iomgr/closure.cc +++ b/src/core/lib/iomgr/closure.cc @@ -135,8 +135,8 @@ grpc_closure* grpc_closure_create(grpc_iomgr_cb_func cb, void* cb_arg, } #ifndef NDEBUG -void grpc_closure_run(const char* file, int line, grpc_exec_ctx* exec_ctx, - grpc_closure* c, grpc_error* error) { +void grpc_closure_run(const char* file, int line, grpc_closure* c, + grpc_error* error) { #else void grpc_closure_run(grpc_closure* c, grpc_error* error) { #endif @@ -156,8 +156,8 @@ void grpc_closure_run(grpc_closure* c, grpc_error* error) { } #ifndef NDEBUG -void grpc_closure_sched(const char* file, int line, grpc_exec_ctx* exec_ctx, - grpc_closure* c, grpc_error* error) { +void grpc_closure_sched(const char* file, int line, grpc_closure* c, + grpc_error* error) { #else void grpc_closure_sched(grpc_closure* c, grpc_error* error) { #endif @@ -187,7 +187,7 @@ void grpc_closure_sched(grpc_closure* c, grpc_error* error) { #ifndef NDEBUG void grpc_closure_list_sched(const char* file, int line, - grpc_exec_ctx* exec_ctx, grpc_closure_list* list) { + grpc_closure_list* list) { #else void grpc_closure_list_sched(grpc_closure_list* list) { #endif diff --git a/src/core/lib/iomgr/combiner.cc b/src/core/lib/iomgr/combiner.cc index 5dc0ef450f9..b1b8fffdcad 100644 --- a/src/core/lib/iomgr/combiner.cc +++ b/src/core/lib/iomgr/combiner.cc @@ -161,7 +161,7 @@ static void combiner_exec(grpc_closure* cl, grpc_error* error) { GRPC_STATS_INC_COMBINER_LOCKS_INITIATED(); GPR_TIMER_MARK("combiner.initiated", 0); gpr_atm_no_barrier_store(&lock->initiating_exec_ctx_or_null, - (gpr_atm)&exec_ctx); + (gpr_atm)exec_ctx); // first element on this list: add it to the list of combiner locks // executing within this exec_ctx push_last_on_exec_ctx(lock); @@ -170,7 +170,7 @@ static void combiner_exec(grpc_closure* cl, grpc_error* error) { // offload for one or two actions, and that's fine gpr_atm initiator = gpr_atm_no_barrier_load(&lock->initiating_exec_ctx_or_null); - if (initiator != 0 && initiator != (gpr_atm)&exec_ctx) { + if (initiator != 0 && initiator != (gpr_atm)exec_ctx) { gpr_atm_no_barrier_store(&lock->initiating_exec_ctx_or_null, 0); } } diff --git a/src/core/lib/iomgr/executor.cc b/src/core/lib/iomgr/executor.cc index b45af562f89..f764d915ff6 100644 --- a/src/core/lib/iomgr/executor.cc +++ b/src/core/lib/iomgr/executor.cc @@ -206,7 +206,7 @@ static void executor_push(grpc_closure* closure, grpc_error* error, } thread_state* ts = (thread_state*)gpr_tls_get(&g_this_thread_state); if (ts == NULL) { - ts = &g_thread_state[GPR_HASH_POINTER(&exec_ctx, cur_thread_count)]; + ts = &g_thread_state[GPR_HASH_POINTER(exec_ctx, cur_thread_count)]; } else { GRPC_STATS_INC_EXECUTOR_SCHEDULED_TO_SELF(); } diff --git a/src/core/lib/iomgr/pollset_windows.cc b/src/core/lib/iomgr/pollset_windows.cc index 6486f8ad9d7..dd019b1ec39 100644 --- a/src/core/lib/iomgr/pollset_windows.cc +++ b/src/core/lib/iomgr/pollset_windows.cc @@ -160,10 +160,10 @@ grpc_error* grpc_pollset_work(grpc_pollset* pollset, while (!worker.kicked) { if (gpr_cv_wait(&worker.cv, &grpc_polling_mu, grpc_millis_to_timespec(deadline, GPR_CLOCK_REALTIME))) { - grpc_exec_ctx_invalidate_now(exec_ctx); + grpc_exec_ctx_invalidate_now(); break; } - grpc_exec_ctx_invalidate_now(exec_ctx); + grpc_exec_ctx_invalidate_now(); } } else { pollset->kicked_without_pollers = 0; diff --git a/src/core/lib/iomgr/tcp_windows.cc b/src/core/lib/iomgr/tcp_windows.cc index 8efced8b5ba..ab9a8a5c1e6 100644 --- a/src/core/lib/iomgr/tcp_windows.cc +++ b/src/core/lib/iomgr/tcp_windows.cc @@ -366,8 +366,7 @@ static void win_add_to_pollset_set(grpc_endpoint* ep, grpc_pollset_set* pss) { grpc_iocp_add_socket(tcp->socket); } -static void win_delete_from_pollset_set(grpc_exec_ctx* exec_ctx, - grpc_endpoint* ep, +static void win_delete_from_pollset_set(grpc_endpoint* ep, grpc_pollset_set* pss) {} /* Initiates a shutdown of the TCP endpoint. This will queue abort callbacks @@ -446,7 +445,7 @@ grpc_endpoint* grpc_tcp_create(grpc_winsocket* socket, tcp->resource_user = grpc_resource_user_create(resource_quota, peer_string); /* Tell network status tracking code about the new endpoint */ grpc_network_status_register_endpoint(&tcp->base); - grpc_resource_quota_unref_internal(exec_ctx, resource_quota); + grpc_resource_quota_unref_internal(resource_quota); return &tcp->base; } diff --git a/test/core/debug/stats_test.cc b/test/core/debug/stats_test.cc index 554a4a32882..8401618670f 100644 --- a/test/core/debug/stats_test.cc +++ b/test/core/debug/stats_test.cc @@ -95,7 +95,7 @@ TEST_P(HistogramTest, IncHistogram) { Snapshot snapshot; ExecCtx _local_exec_ctx; - grpc_stats_inc_histogram[kHistogram](&exec_ctx, j); + grpc_stats_inc_histogram[kHistogram](j); grpc_exec_ctx_finish(); auto delta = snapshot.delta(); diff --git a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc index f9d02ee5041..d6fb3cd3695 100644 --- a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc +++ b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc @@ -443,7 +443,7 @@ static void UnrefHeader(void* user_data, grpc_mdelem md) { GRPC_MDELEM_UNREF(md); } -template +template static void BM_HpackParserParseHeader(benchmark::State& state) { TrackCounters track_counters; ExecCtx _local_exec_ctx; diff --git a/test/cpp/microbenchmarks/bm_chttp2_transport.cc b/test/cpp/microbenchmarks/bm_chttp2_transport.cc index a32b841501e..3a3547141df 100644 --- a/test/cpp/microbenchmarks/bm_chttp2_transport.cc +++ b/test/cpp/microbenchmarks/bm_chttp2_transport.cc @@ -152,7 +152,7 @@ class Fixture { private: DummyEndpoint* ep_; - grpc_exec_ctx _local_exec_ctx; + ExecCtx _local_exec_ctx; grpc_transport* t_; };