Guest User

packed

a guest
Jun 19th, 2015
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.07 KB | None | 0 0
  1. struct State {
  2. enum HttpTransactMagic_t m_magic; /* 0 4 */
  3.  
  4. /* XXX 4 bytes hole, try to pack */
  5.  
  6. class HttpSM * state_machine; /* 8 8 */
  7. class Arena arena; /* 16 8 */
  8. class HttpConfigParams * http_config_param; /* 24 8 */
  9. typedef struct _CacheLookupInfo CacheLookupInfo;
  10.  
  11. CacheLookupInfo cache_info; /* 32 168 */
  12. /* --- cacheline 3 boundary (192 bytes) was 8 bytes ago --- */
  13. bool force_dns; /* 200 1 */
  14.  
  15. /* XXX 7 bytes hole, try to pack */
  16. typedef struct _DNSLookupInfo DNSLookupInfo;
  17.  
  18.  
  19. DNSLookupInfo dns_info; /* 208 1072 */
  20. typedef struct _RedirectInfo RedirectInfo;
  21.  
  22. /* --- cacheline 20 boundary (1280 bytes) --- */
  23. RedirectInfo redirect_info; /* 1280 40 */
  24. unsigned int updated_server_version; /* 1320 4 */
  25. unsigned int cache_open_write_fail_action; /* 1324 4 */
  26. bool is_revalidation_necessary; /* 1328 1 */
  27. bool request_will_not_selfloop; /* 1329 1 */
  28.  
  29. /* XXX 6 bytes hole, try to pack */
  30.  
  31. struct ConnectionAttributes client_info; /* 1336 80 */
  32. /* --- cacheline 22 boundary (1408 bytes) was 8 bytes ago --- */
  33. struct ConnectionAttributes icp_info; /* 1416 80 */
  34. /* --- cacheline 23 boundary (1472 bytes) was 24 bytes ago --- */
  35. struct ConnectionAttributes parent_info; /* 1496 80 */
  36. /* --- cacheline 24 boundary (1536 bytes) was 40 bytes ago --- */
  37. struct ConnectionAttributes server_info; /* 1576 80 */
  38. /* --- cacheline 25 boundary (1600 bytes) was 56 bytes ago --- */
  39. enum Source_t source; /* 1656 4 */
  40. enum Source_t pre_transform_source; /* 1660 4 */
  41. /* --- cacheline 26 boundary (1664 bytes) --- */
  42. enum HttpRequestFlavor_t req_flavor; /* 1664 4 */
  43.  
  44. /* XXX 4 bytes hole, try to pack */
  45. typedef struct _CurrentInfo CurrentInfo;
  46.  
  47.  
  48. CurrentInfo current; /* 1672 32 */
  49. typedef struct _HeaderInfo HeaderInfo;
  50.  
  51. HeaderInfo hdr_info; /* 1704 432 */
  52. typedef struct _SquidLogInfo SquidLogInfo;
  53.  
  54. /* --- cacheline 33 boundary (2112 bytes) was 24 bytes ago --- */
  55. SquidLogInfo squid_codes; /* 2136 12 */
  56.  
  57. /* XXX 4 bytes hole, try to pack */
  58.  
  59. struct HttpApiInfo api_info; /* 2152 16 */
  60. typedef void (*TransactFunc_t)(class State *);
  61.  
  62. TransactFunc_t pending_work; /* 2168 8 */
  63. /* --- cacheline 34 boundary (2176 bytes) --- */
  64. enum StateMachineAction_t cdn_saved_next_action; /* 2176 4 */
  65.  
  66. /* XXX 4 bytes hole, try to pack */
  67.  
  68. void (*cdn_saved_transact_return_point)(class State *); /* 2184 8 */
  69. bool cdn_remap_complete; /* 2192 1 */
  70. bool first_dns_lookup; /* 2193 1 */
  71. bool backdoor_request; /* 2194 1 */
  72. bool cop_test_page; /* 2195 1 */
  73.  
  74. /* XXX 4 bytes hole, try to pack */
  75.  
  76. class ParentConfigParams * parent_params; /* 2200 8 */
  77. struct ParentResult parent_result; /* 2208 128 */
  78. /* --- cacheline 36 boundary (2304 bytes) was 32 bytes ago --- */
  79. struct HttpRequestData request_data; /* 2336 0 */
  80.  
  81. /* XXX 120 bytes hole, try to pack */
  82.  
  83. /* --- cacheline 38 boundary (2432 bytes) was 24 bytes ago --- */
  84. class CacheControlResult cache_control; /* 2456 52 */
  85. /* --- cacheline 39 boundary (2496 bytes) was 12 bytes ago --- */
  86. enum CacheLookupResult_t cache_lookup_result; /* 2508 4 */
  87. enum StateMachineAction_t next_action; /* 2512 4 */
  88. enum StateMachineAction_t api_next_action; /* 2516 4 */
  89. void (*transact_return_point)(class State *); /* 2520 8 */
  90. void (*post_remap_upgrade_return_point)(class State *); /* 2528 8 */
  91. const char * upgrade_token_wks; /* 2536 8 */
  92. bool is_upgrade_request; /* 2544 1 */
  93. bool is_websocket; /* 2545 1 */
  94. bool did_upgrade_succeed; /* 2546 1 */
  95.  
  96. /* XXX 5 bytes hole, try to pack */
  97.  
  98. char * internal_msg_buffer; /* 2552 8 */
  99. /* --- cacheline 40 boundary (2560 bytes) --- */
  100. char * internal_msg_buffer_type; /* 2560 8 */
  101. int64_t internal_msg_buffer_size; /* 2568 8 */
  102. int64_t internal_msg_buffer_fast_allocator_size; /* 2576 8 */
  103. struct sockaddr_in icp_ip_result; /* 2584 16 */
  104. bool icp_lookup_success; /* 2600 1 */
  105.  
  106. /* XXX 3 bytes hole, try to pack */
  107.  
  108. int scheme; /* 2604 4 */
  109. int next_hop_scheme; /* 2608 4 */
  110. int orig_scheme; /* 2612 4 */
  111. int method; /* 2616 4 */
  112. int cause_of_death_errno; /* 2620 4 */
  113. /* --- cacheline 41 boundary (2624 bytes) --- */
  114. struct HostDBInfo host_db_info; /* 2624 64 */
  115. /* --- cacheline 42 boundary (2688 bytes) --- */
  116. ink_time_t client_request_time; /* 2688 8 */
  117. ink_time_t request_sent_time; /* 2696 8 */
  118. ink_time_t response_received_time; /* 2704 8 */
  119. ink_time_t plugin_set_expire_time; /* 2712 8 */
  120. char via_string[25]; /* 2720 25 */
  121.  
  122. /* XXX 7 bytes hole, try to pack */
  123.  
  124. /* --- cacheline 43 boundary (2752 bytes) --- */
  125. int64_t state_machine_id; /* 2752 8 */
  126. struct StatBlock first_stats; /* 2760 464 */
  127. /* --- cacheline 50 boundary (3200 bytes) was 24 bytes ago --- */
  128. class StatBlock * current_stats; /* 3224 8 */
  129. bool negative_caching; /* 3232 1 */
  130. bool srv_lookup; /* 3233 1 */
  131.  
  132. /* XXX 2 bytes hole, try to pack */
  133.  
  134. enum CacheAuth_t www_auth_content; /* 3236 4 */
  135. bool client_connection_enabled; /* 3240 1 */
  136. bool acl_filtering_performed; /* 3241 1 */
  137.  
  138. /* XXX 6 bytes hole, try to pack */
  139.  
  140. void * remap_plugin_instance; /* 3248 8 */
  141. void * user_args[16]; /* 3256 128 */
  142. /* --- cacheline 52 boundary (3328 bytes) was 56 bytes ago --- */
  143. _tsremap_os_response * fp_tsremap_os_response; /* 3384 8 */
  144. /* --- cacheline 53 boundary (3392 bytes) --- */
  145. enum HTTPStatus http_return_code; /* 3392 4 */
  146. int api_txn_active_timeout_value; /* 3396 4 */
  147. int api_txn_connect_timeout_value; /* 3400 4 */
  148. int api_txn_dns_timeout_value; /* 3404 4 */
  149. int api_txn_no_activity_timeout_value; /* 3408 4 */
  150.  
  151. /* XXX 4 bytes hole, try to pack */
  152.  
  153. class HdrHeapSDKHandle * cache_req_hdr_heap_handle; /* 3416 8 */
  154. class HdrHeapSDKHandle * cache_resp_hdr_heap_handle; /* 3424 8 */
  155. bool api_cleanup_cache_read; /* 3432 1 */
  156. bool api_server_response_no_store; /* 3433 1 */
  157. bool api_server_response_ignore; /* 3434 1 */
  158. bool api_http_sm_shutdown; /* 3435 1 */
  159. bool api_modifiable_cached_resp; /* 3436 1 */
  160. bool api_server_request_body_set; /* 3437 1 */
  161. bool api_req_cacheable; /* 3438 1 */
  162. bool api_resp_cacheable; /* 3439 1 */
  163. bool api_server_addr_set; /* 3440 1 */
  164. bool stale_icp_lookup; /* 3441 1 */
  165.  
  166. /* XXX 2 bytes hole, try to pack */
  167.  
  168. enum UpdateCachedObject_t api_update_cached_object; /* 3444 4 */
  169. enum LockUrl_t api_lock_url; /* 3448 4 */
  170. enum StateMachineAction_t saved_update_next_action; /* 3452 4 */
  171. /* --- cacheline 54 boundary (3456 bytes) --- */
  172. enum CacheAction_t saved_update_cache_action; /* 3456 4 */
  173.  
  174. /* XXX 4 bytes hole, try to pack */
  175.  
  176. class UrlMappingContainer url_map; /* 3464 40 */
  177. struct host_hdr_info hh_info; /* 3504 16 */
  178. /* --- cacheline 55 boundary (3520 bytes) --- */
  179. class CongestionEntry * pCongestionEntry; /* 3520 8 */
  180. enum StateMachineAction_t congest_saved_next_action; /* 3528 4 */
  181. int congestion_control_crat; /* 3532 4 */
  182. int congestion_congested_or_failed; /* 3536 4 */
  183. int congestion_connection_opened; /* 3540 4 */
  184. unsigned int filter_mask; /* 3544 4 */
  185.  
  186. /* XXX 4 bytes hole, try to pack */
  187.  
  188. char * remap_redirect; /* 3552 8 */
  189. bool reverse_proxy; /* 3560 1 */
  190. bool url_remap_success; /* 3561 1 */
  191. bool api_skip_all_remapping; /* 3562 1 */
  192. bool already_downgraded; /* 3563 1 */
  193.  
  194. /* XXX 4 bytes hole, try to pack */
  195.  
  196. class URL pristine_url; /* 3568 16 */
  197. /* --- cacheline 56 boundary (3584 bytes) --- */
  198. enum RangeSetup_t range_setup; /* 3584 4 */
  199.  
  200. /* XXX 4 bytes hole, try to pack */
  201.  
  202. int64_t num_range_fields; /* 3592 8 */
  203. int64_t range_output_cl; /* 3600 8 */
  204. RangeRecord * ranges; /* 3608 8 */
  205. class OverridableHttpConfigParams * txn_conf; /* 3616 8 */
  206. struct OverridableHttpConfigParams my_txn_conf; /* 3624 432 */
  207. /* --- cacheline 63 boundary (4032 bytes) was 24 bytes ago --- */
  208. bool transparent_passthrough; /* 4056 1 */
  209. bool range_in_cache; /* 4057 1 */
  210. void init(class State *); /* linkage=_ZN12HttpTransact5State4initEv */
  211.  
  212. void State(class State *);
  213.  
  214. void record_transaction_stats(class State *); /* linkage=_ZN12HttpTransact5State24record_transaction_statsEv */
  215.  
  216. void destroy(class State *); /* linkage=_ZN12HttpTransact5State7destroyEv */
  217.  
  218. void setup_per_txn_configs(class State *); /* linkage=_ZN12HttpTransact5State21setup_per_txn_configsEv */
  219.  
  220. void free_internal_msg_buffer(class State *); /* linkage=_ZN12HttpTransact5State24free_internal_msg_bufferEv */
  221.  
  222.  
  223. /* size: 4064, cachelines: 64, members: 114 */
  224. /* sum members: 3860, holes: 19, sum holes: 198 */
  225. /* padding: 6 */
  226. /* last cacheline: 32 bytes */
  227. };
Advertisement
Add Comment
Please, Sign In to add comment