accounting.h (efbf38d73e5dcc4d5f8b98c6e7a12be1f3b91745) | accounting.h (52eb76f4b1ac040208275665b03da1fbee99c539) |
---|---|
1/* 2 * QEMU System Emulator block accounting 3 * 4 * Copyright (c) 2011 Christoph Hellwig 5 * Copyright (c) 2015 Igalia, S.L. 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 23 unchanged lines hidden (view full) --- 32typedef struct BlockAcctTimedStats BlockAcctTimedStats; 33typedef struct BlockAcctStats BlockAcctStats; 34 35enum BlockAcctType { 36 BLOCK_ACCT_NONE = 0, 37 BLOCK_ACCT_READ, 38 BLOCK_ACCT_WRITE, 39 BLOCK_ACCT_FLUSH, | 1/* 2 * QEMU System Emulator block accounting 3 * 4 * Copyright (c) 2011 Christoph Hellwig 5 * Copyright (c) 2015 Igalia, S.L. 6 * 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal --- 23 unchanged lines hidden (view full) --- 32typedef struct BlockAcctTimedStats BlockAcctTimedStats; 33typedef struct BlockAcctStats BlockAcctStats; 34 35enum BlockAcctType { 36 BLOCK_ACCT_NONE = 0, 37 BLOCK_ACCT_READ, 38 BLOCK_ACCT_WRITE, 39 BLOCK_ACCT_FLUSH, |
40 BLOCK_ACCT_ZONE_APPEND, |
|
40 BLOCK_ACCT_UNMAP, 41 BLOCK_MAX_IOTYPE, 42}; 43 44struct BlockAcctTimedStats { 45 BlockAcctStats *stats; 46 TimedAverage latency[BLOCK_MAX_IOTYPE]; 47 unsigned interval_length; /* in seconds */ --- 76 unchanged lines hidden --- | 41 BLOCK_ACCT_UNMAP, 42 BLOCK_MAX_IOTYPE, 43}; 44 45struct BlockAcctTimedStats { 46 BlockAcctStats *stats; 47 TimedAverage latency[BLOCK_MAX_IOTYPE]; 48 unsigned interval_length; /* in seconds */ --- 76 unchanged lines hidden --- |