Home / Function/ record() — netty Function Reference

record() — netty Function Reference

Architecture documentation for the record() function in ByteBufAllocateAndGrowBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  eb99c839_e151_4c32_1742_7f6391dfee24["record()"]
  86ab0092_1cfb_8a37_914c_6b94750fabe3["BufStats"]
  eb99c839_e151_4c32_1742_7f6391dfee24 -->|defined in| 86ab0092_1cfb_8a37_914c_6b94750fabe3
  0682dd35_0259_0d96_91dc_bd05b7e40d1b["expandBuffer()"]
  0682dd35_0259_0d96_91dc_bd05b7e40d1b -->|calls| eb99c839_e151_4c32_1742_7f6391dfee24
  style eb99c839_e151_4c32_1742_7f6391dfee24 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocateAndGrowBenchmark.java lines 111–115

        void record(ByteBuf byteBuf) {
            bufCounts++;
            bufSizeSum += byteBuf.capacity();
            bufFastCapSum += byteBuf.maxFastWritableBytes();
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does record() do?
record() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocateAndGrowBenchmark.java.
Where is record() defined?
record() is defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocateAndGrowBenchmark.java at line 111.
What calls record()?
record() is called by 1 function(s): expandBuffer.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free