diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-20 17:55:19 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-20 17:55:19 +0000 |
commit | 78314e8a1363f906259ddabfd650e92809507f22 (patch) | |
tree | 991dde0b301931a406043a04e1c398d8492432c8 /TAO/tao/params.h | |
parent | ec4aa4c0f3d30c990b18b0224857d9dfe2806309 (diff) | |
download | ATCD-78314e8a1363f906259ddabfd650e92809507f22.tar.gz |
ChangeLogTag:Wed May 20 12:10:12 1998 Carlos O'Ryan <coryan@JIG>
Diffstat (limited to 'TAO/tao/params.h')
-rw-r--r-- | TAO/tao/params.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/tao/params.h b/TAO/tao/params.h index 8c41a2f1218..b775ce37561 100644 --- a/TAO/tao/params.h +++ b/TAO/tao/params.h @@ -105,6 +105,13 @@ public: // After reaching their maximum exponential size limit CDR streams // grow linearly in chunks of this size. + int cdr_memcpy_tradeoff (void) const; + void cdr_memcpy_tradeoff (int); + // Octet sequences are marshalled without doing any copies, we + // simply append a block to the CDR message block chain. When the + // octet sequence is small enough and there is room in the current + // message block it is more efficient just to copy the buffer. + private: ACE_INET_Addr addr_; // host + port number we are listening on @@ -135,6 +142,10 @@ private: int cdr_linear_chunk_; // Control for linear growth of CDR buffers. + + int cdr_memcpy_tradeoff_; + // Control the strategy for copying vs. appeding octet sequences in + // CDR streams. }; typedef enum |